diff options
Diffstat (limited to 'tests/pos/t1029/Test_1.scala')
-rw-r--r-- | tests/pos/t1029/Test_1.scala | 7 |
1 files changed, 7 insertions, 0 deletions
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" +} |