Support test directives in inline tests

This commit is contained in:
Michael Bogdanov
2016-04-03 15:25:36 +03:00
parent d319811101
commit f5166b7aef
61 changed files with 77 additions and 72 deletions
@@ -1,5 +1,5 @@
// FILE: 1.kt
// WITH_REFLECT
package test
inline fun <R> call(s: () -> R) = s()
@@ -1,5 +1,5 @@
// FILE: 1.kt
// WITH_REFLECT
package test
inline fun <R> call(s: () -> R) = s()
@@ -1,5 +1,5 @@
// FILE: 1.kt
// WITH_REFLECT
package test
inline fun <R> call(crossinline s: () -> R) = { s() }()
@@ -1,5 +1,5 @@
// FILE: 1.kt
// WITH_REFLECT
package test
interface Z {
@@ -1,5 +1,5 @@
// FILE: 1.kt
// WITH_REFLECT
package test
interface Z {
@@ -1,5 +1,5 @@
// FILE: 1.kt
// WITH_REFLECT
package test
interface Z<T> {
@@ -1,5 +1,5 @@
// FILE: 1.kt
// WITH_REFLECT
package test
interface Z {