diff options
Diffstat (limited to 'tests/pos/java-interop/t294/Test_1.scala')
-rw-r--r-- | tests/pos/java-interop/t294/Test_1.scala | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/pos/java-interop/t294/Test_1.scala b/tests/pos/java-interop/t294/Test_1.scala new file mode 100644 index 000000000..ff1f34b10 --- /dev/null +++ b/tests/pos/java-interop/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 +} |