diff options
Diffstat (limited to 'test/files/run/t5544/Api_1.scala')
-rw-r--r-- | test/files/run/t5544/Api_1.scala | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/files/run/t5544/Api_1.scala b/test/files/run/t5544/Api_1.scala new file mode 100644 index 0000000000..b4c92864de --- /dev/null +++ b/test/files/run/t5544/Api_1.scala @@ -0,0 +1,8 @@ +import scala.annotation.StaticAnnotation + +class ann(val bar: Any) extends StaticAnnotation + +object Api { + @ann({def foo = "foo!!"}) + def foo = println("foo") +} |