diff options
Diffstat (limited to 'test/files/neg/annot-nonconst.scala')
-rw-r--r-- | test/files/neg/annot-nonconst.scala | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/files/neg/annot-nonconst.scala b/test/files/neg/annot-nonconst.scala index f9d044a041..69bb60d34e 100644 --- a/test/files/neg/annot-nonconst.scala +++ b/test/files/neg/annot-nonconst.scala @@ -1,6 +1,8 @@ class Length(value: Int) extends ClassfileAnnotation +class Ann2(value: String) extends ClassfileAnnotation object Test { def n = 15 @Length(n) def foo = "foo" + @Ann2(null) def bar = "bar" } |