aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/pos/t1782
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2014-05-05 18:34:59 +0200
committerSamuel Gruetter <samuel.gruetter@epfl.ch>2014-05-20 13:38:48 +0200
commit82c4db686d07ae8e91f157f5c8b55a1a76917941 (patch)
tree3024867516bdc571987207296046fe5bcd3ca566 /tests/untried/pos/t1782
parent94ceb9895a539b05fd81c8abe040c276178b5507 (diff)
downloaddotty-82c4db686d07ae8e91f157f5c8b55a1a76917941.tar.gz
dotty-82c4db686d07ae8e91f157f5c8b55a1a76917941.tar.bz2
dotty-82c4db686d07ae8e91f157f5c8b55a1a76917941.zip
Pos tests t17xx - t19xx
Diffstat (limited to 'tests/untried/pos/t1782')
-rw-r--r--tests/untried/pos/t1782/Ann.java3
-rw-r--r--tests/untried/pos/t1782/Days.java3
-rw-r--r--tests/untried/pos/t1782/ImplementedBy.java3
-rw-r--r--tests/untried/pos/t1782/Test_1.scala16
4 files changed, 0 insertions, 25 deletions
diff --git a/tests/untried/pos/t1782/Ann.java b/tests/untried/pos/t1782/Ann.java
deleted file mode 100644
index 0dcfbd2ed..000000000
--- a/tests/untried/pos/t1782/Ann.java
+++ /dev/null
@@ -1,3 +0,0 @@
-public @interface Ann {
- public Days value();
-}
diff --git a/tests/untried/pos/t1782/Days.java b/tests/untried/pos/t1782/Days.java
deleted file mode 100644
index 203a87b1c..000000000
--- a/tests/untried/pos/t1782/Days.java
+++ /dev/null
@@ -1,3 +0,0 @@
-public enum Days {
- Friday, Sunday
-}
diff --git a/tests/untried/pos/t1782/ImplementedBy.java b/tests/untried/pos/t1782/ImplementedBy.java
deleted file mode 100644
index 6aa8b4fa9..000000000
--- a/tests/untried/pos/t1782/ImplementedBy.java
+++ /dev/null
@@ -1,3 +0,0 @@
-public @interface ImplementedBy {
- public Class<?> value();
-}
diff --git a/tests/untried/pos/t1782/Test_1.scala b/tests/untried/pos/t1782/Test_1.scala
deleted file mode 100644
index 6467a74c2..000000000
--- a/tests/untried/pos/t1782/Test_1.scala
+++ /dev/null
@@ -1,16 +0,0 @@
-@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"
-}