KT-2291: test for obsolete issue

This commit is contained in:
Alex Tkachman
2012-08-04 16:46:27 +03:00
parent 34a0b0dcd4
commit e848e5502b
2 changed files with 10 additions and 0 deletions
@@ -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");
}
}