Support configuration directives FULL_JDK, WITH_RUNTIME, WITH_REFLECT in Psi2Ir tests.

This commit is contained in:
Dmitry Petrov
2016-09-05 10:58:13 +03:00
committed by Dmitry Petrov
parent d623c70778
commit 539d7ccf6f
15 changed files with 67 additions and 2 deletions
+2
View File
@@ -1,3 +1,5 @@
// WITH_RUNTIME
fun testEmpty(ss: List<String>) {
for (s in ss);
}
@@ -1,3 +1,5 @@
// WITH_RUNTIME
object FiveTimes
class IntCell(var value: Int)
+2
View File
@@ -1,3 +1,5 @@
// WITH_RUNTIME
fun expectsString(s: String) {}
fun expectsInt(i: Int) {}
+2
View File
@@ -1,3 +1,5 @@
// WITH_RUNTIME
fun test1() {
try {
println()
+2
View File
@@ -1,3 +1,5 @@
// WITH_RUNTIME
object A
fun testWithSubject(x: Any?) =