Add warning if both -Xuse-ir and -Xuse-old-backend are passed

This commit is contained in:
Alexander Udalov
2021-01-07 22:58:04 +01:00
parent cb3191769d
commit 12078666c2
5 changed files with 23 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
$TESTDATA_DIR$/simple.kt
-d
$TEMP_DIR$
-Xuse-ir
-Xuse-old-backend
+2
View File
@@ -0,0 +1,2 @@
warning: both -Xuse-ir and -Xuse-old-backend are passed. This is an inconsistent configuration. The compiler will use the old JVM backend
OK