summaryrefslogtreecommitdiff
path: root/test/files/pos/t1029/Test_1.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/t1029/Test_1.scala')
-rw-r--r--test/files/pos/t1029/Test_1.scala7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/pos/t1029/Test_1.scala b/test/files/pos/t1029/Test_1.scala
new file mode 100644
index 0000000000..e828087f2c
--- /dev/null
+++ b/test/files/pos/t1029/Test_1.scala
@@ -0,0 +1,7 @@
+class ann(a: Array[Int]) extends StaticAnnotation
+
+object Test1 {
+ // bug #1029
+ @ann(Array(10, 2)) def u = ()
+ val v: String @ann(Array(13, 2)) = "-1"
+}