summaryrefslogtreecommitdiff
path: root/test/pending/pos/t294/Test_1.scala
diff options
context:
space:
mode:
authorAdriaan Moors <adriaan.moors@epfl.ch>2012-07-18 05:49:38 -0700
committerAdriaan Moors <adriaan.moors@epfl.ch>2012-07-18 05:49:38 -0700
commit9c7915715d2a00f62b597b9d4eff1c36c36e14ba (patch)
treef28854c253485a7fbeda4c2864cb4359543c566d /test/pending/pos/t294/Test_1.scala
parenta5dcbbc54d48610289218ea3b4d85b47f7cf607c (diff)
parent1729b26500506530733753d44f9ce2a2597e0e33 (diff)
downloadscala-9c7915715d2a00f62b597b9d4eff1c36c36e14ba.tar.gz
scala-9c7915715d2a00f62b597b9d4eff1c36c36e14ba.tar.bz2
scala-9c7915715d2a00f62b597b9d4eff1c36c36e14ba.zip
Merge pull request #921 from adriaanm/ticket-spuriousness
move test files that fail spuriously to pending
Diffstat (limited to 'test/pending/pos/t294/Test_1.scala')
-rw-r--r--test/pending/pos/t294/Test_1.scala7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/pending/pos/t294/Test_1.scala b/test/pending/pos/t294/Test_1.scala
new file mode 100644
index 0000000000..ff1f34b10e
--- /dev/null
+++ b/test/pending/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
+}