diff options
Diffstat (limited to 'test/files/pos')
-rw-r--r-- | test/files/pos/bug3521/DoubleValue.java | 7 | ||||
-rw-r--r-- | test/files/pos/bug3521/a.scala | 4 |
2 files changed, 11 insertions, 0 deletions
diff --git a/test/files/pos/bug3521/DoubleValue.java b/test/files/pos/bug3521/DoubleValue.java new file mode 100644 index 0000000000..e8c093890b --- /dev/null +++ b/test/files/pos/bug3521/DoubleValue.java @@ -0,0 +1,7 @@ +import java.lang.annotation.*; + +@Retention(RetentionPolicy.RUNTIME) +@Target(ElementType.FIELD) +public @interface DoubleValue { + double value(); +}
\ No newline at end of file diff --git a/test/files/pos/bug3521/a.scala b/test/files/pos/bug3521/a.scala new file mode 100644 index 0000000000..94bb451fc3 --- /dev/null +++ b/test/files/pos/bug3521/a.scala @@ -0,0 +1,4 @@ +class Test { + @DoubleValue(-0.05) + var a = 0 +}
\ No newline at end of file |