diff options
author | Lex Spoon <lex@lexspoon.org> | 2007-09-04 07:36:04 +0000 |
---|---|---|
committer | Lex Spoon <lex@lexspoon.org> | 2007-09-04 07:36:04 +0000 |
commit | 1828b005b05fbe0bcd8adfa0b4ad1f1ddb231fc8 (patch) | |
tree | 63cd9fe0925fd3cc7b62140f6b0aa31b41434edf /test/files | |
parent | 1a8874d4726ead817f85420f440a28e9cf68aa48 (diff) | |
download | scala-1828b005b05fbe0bcd8adfa0b4ad1f1ddb231fc8.tar.gz scala-1828b005b05fbe0bcd8adfa0b4ad1f1ddb231fc8.tar.bz2 scala-1828b005b05fbe0bcd8adfa0b4ad1f1ddb231fc8.zip |
Diffstat (limited to 'test/files')
-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) + } +} |