diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/files/pos/annot-inner.scala | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/files/pos/annot-inner.scala b/test/files/pos/annot-inner.scala new file mode 100644 index 0000000000..f2ecb5ddb3 --- /dev/null +++ b/test/files/pos/annot-inner.scala @@ -0,0 +1,9 @@ +object test { + class annot extends Annotation + + def foo { + @annot def bar(i: Int): Int = i + @annot class Silly { } + bar(5) + } +} |