[FIR TEST] Add CLI test with should-be-error (not yet)
This commit is contained in:
+4
@@ -0,0 +1,4 @@
|
||||
$TESTDATA_DIR$/firError.kt
|
||||
-Xuse-fir
|
||||
-d
|
||||
$TEMP_DIR$
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
fun println(val x: Int) {}
|
||||
|
||||
fun main() {
|
||||
val x: Int
|
||||
println(x)
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
OK
|
||||
@@ -275,6 +275,11 @@ public class CliTestGenerated extends AbstractCliTest {
|
||||
runTest("compiler/testData/cli/jvm/fileClassClashMultipleFiles.args");
|
||||
}
|
||||
|
||||
@TestMetadata("firError.args")
|
||||
public void testFirError() throws Exception {
|
||||
runTest("compiler/testData/cli/jvm/firError.args");
|
||||
}
|
||||
|
||||
@TestMetadata("firHello.args")
|
||||
public void testFirHello() throws Exception {
|
||||
runTest("compiler/testData/cli/jvm/firHello.args");
|
||||
|
||||
Reference in New Issue
Block a user