KT-2291: test for obsolete issue
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
fun main(args : Array<String>) {
|
||||
1 in 1.rangeTo(10)
|
||||
1..10
|
||||
'h' in 'A'.rangeTo('Z')
|
||||
}
|
||||
@@ -371,4 +371,9 @@ public class ControlStructuresTest extends CodegenTestCase {
|
||||
createEnvironmentWithMockJdkAndIdeaAnnotations(ConfigurationKind.JDK_ONLY);
|
||||
blackBoxFile("regressions/kt2416.kt");
|
||||
}
|
||||
|
||||
public void testKt2291() {
|
||||
createEnvironmentWithMockJdkAndIdeaAnnotations(ConfigurationKind.JDK_ONLY);
|
||||
blackBoxFile("regressions/kt2291.kt");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user