summaryrefslogtreecommitdiff
path: root/test/files/pos/annotations.scala
diff options
context:
space:
mode:
authorLukas Rytz <lukas.rytz@epfl.ch>2008-10-22 07:52:41 +0000
committerLukas Rytz <lukas.rytz@epfl.ch>2008-10-22 07:52:41 +0000
commit8484a8b26c62549e9deb5953d1497819e4ffccd7 (patch)
tree95df4963caff6716cac0bc04322c5c0bd8a907c5 /test/files/pos/annotations.scala
parentf353a1d4fe83127f450941a9624ff562926984cf (diff)
downloadscala-8484a8b26c62549e9deb5953d1497819e4ffccd7.tar.gz
scala-8484a8b26c62549e9deb5953d1497819e4ffccd7.tar.bz2
scala-8484a8b26c62549e9deb5953d1497819e4ffccd7.zip
fixed #1214
Diffstat (limited to 'test/files/pos/annotations.scala')
-rw-r--r--test/files/pos/annotations.scala3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/files/pos/annotations.scala b/test/files/pos/annotations.scala
index 558fd62956..4e2bc6a9eb 100644
--- a/test/files/pos/annotations.scala
+++ b/test/files/pos/annotations.scala
@@ -10,6 +10,9 @@ object Test {
def c: Int @ann(x) = 1
def d: String @ann({val z = 0; z - 1}) = "2"
+ //bug #1214
+ val y = new (Integer @ann(0))(2)
+
import scala.reflect.BeanProperty
// bug #637