summaryrefslogtreecommitdiff
path: root/test/files/pos/t1782/Test_1.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/t1782/Test_1.scala')
-rw-r--r--test/files/pos/t1782/Test_1.scala5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/files/pos/t1782/Test_1.scala b/test/files/pos/t1782/Test_1.scala
index 021dfc6d53..e61ef8eaf5 100644
--- a/test/files/pos/t1782/Test_1.scala
+++ b/test/files/pos/t1782/Test_1.scala
@@ -8,4 +8,9 @@ class Provider
{
// test enumeration java annotations
@Ann(Days.Friday) def someMethod() = ()
+
+ // #2103
+ @scala.reflect.BeanProperty
+ @Ann(value = Days.Sunday)
+ val t2103 = "test"
}