summaryrefslogtreecommitdiff
path: root/test/files/pos/t294/Test_1.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2012-10-04 23:12:26 -0700
committerPaul Phillips <paulp@improving.org>2012-10-04 23:12:26 -0700
commit59d869f51aa555b03c13032a5d975d4e8e23bf8e (patch)
tree08c31ce50ecbfaa9fffeaf0f9a200cfa50e42b5c /test/files/pos/t294/Test_1.scala
parent5e1cbba30766bd66e696175d08a013f74bcd0aff (diff)
parent5240da5073168424db50b969c1bbf7089d0a4242 (diff)
downloadscala-59d869f51aa555b03c13032a5d975d4e8e23bf8e.tar.gz
scala-59d869f51aa555b03c13032a5d975d4e8e23bf8e.tar.bz2
scala-59d869f51aa555b03c13032a5d975d4e8e23bf8e.zip
Merge pull request #1467 from paulp/passing-tests
Move tests out of pending.
Diffstat (limited to 'test/files/pos/t294/Test_1.scala')
-rw-r--r--test/files/pos/t294/Test_1.scala7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/pos/t294/Test_1.scala b/test/files/pos/t294/Test_1.scala
new file mode 100644
index 0000000000..ff1f34b10e
--- /dev/null
+++ b/test/files/pos/t294/Test_1.scala
@@ -0,0 +1,7 @@
+// also test pickling of java annotations; Test_2.scala will
+// read this class file
+@Ann(nested = Array(new Ann2(10))) class Test {
+ @Ann2(100) var ctx: Object = _
+ @Ann(nested = Array()) def foo = 10
+ @Ann(nested = Array(new Ann2(10), new Ann2(23))) val bam = -3
+}