summaryrefslogtreecommitdiff
path: root/test/files/pos/t1782/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/t1782/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/t1782/Test_1.scala')
-rw-r--r--test/files/pos/t1782/Test_1.scala16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/files/pos/t1782/Test_1.scala b/test/files/pos/t1782/Test_1.scala
new file mode 100644
index 0000000000..6467a74c29
--- /dev/null
+++ b/test/files/pos/t1782/Test_1.scala
@@ -0,0 +1,16 @@
+@ImplementedBy(classOf[Provider])
+trait Service {
+ def someMethod()
+}
+
+class Provider
+ extends Service
+{
+ // test enumeration java annotations
+ @Ann(Days.Friday) def someMethod() = ()
+
+ // #2103
+ @scala.beans.BeanProperty
+ @Ann(value = Days.Sunday)
+ val t2103 = "test"
+}