summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-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