diff options
Diffstat (limited to 'test/files/neg/t6558b.scala')
-rw-r--r-- | test/files/neg/t6558b.scala | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/files/neg/t6558b.scala b/test/files/neg/t6558b.scala new file mode 100644 index 0000000000..2aa06f69cf --- /dev/null +++ b/test/files/neg/t6558b.scala @@ -0,0 +1,15 @@ +class AnnotNotFound { + def foo(a: Any) = () + + foo { + @inargument + def foo = 0 + foo + } + + () => { + @infunction + def foo = 0 + () + } +} |