Add failing test 'inline24'
This commit is contained in:
committed by
SvyatoslavScherbina
parent
ce29c5fbb7
commit
a8ab837035
@@ -0,0 +1,8 @@
|
||||
fun foo() = println("foo")
|
||||
fun bar() = println("bar")
|
||||
|
||||
inline fun baz(x: Unit = foo(), y: Unit) {}
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
baz(y = bar())
|
||||
}
|
||||
Reference in New Issue
Block a user