From 0dda8a1858c162f74f76a1d4dae158e99a250267 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Wed, 19 Mar 2014 18:00:14 +0100 Subject: More tests, currently disabled Mostly Java interop tests which are not yet supported. The test infrastructure for Java ocmpilation and the java parser from Scala are still missing. --- tests/pos/t1029/Test_1.scala | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 tests/pos/t1029/Test_1.scala (limited to 'tests/pos/t1029/Test_1.scala') diff --git a/tests/pos/t1029/Test_1.scala b/tests/pos/t1029/Test_1.scala new file mode 100644 index 000000000..d268c7142 --- /dev/null +++ b/tests/pos/t1029/Test_1.scala @@ -0,0 +1,7 @@ +class ann(a: Array[Int]) extends annotation.StaticAnnotation + +object Test1 { + // bug #1029 + @ann(Array(10, 2)) def u = () + val v: String @ann(Array(13, 2)) = "-1" +} -- cgit v1.2.3