diff options
Diffstat (limited to 'test/neg/bug152.check')
-rw-r--r-- | test/neg/bug152.check | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/neg/bug152.check b/test/neg/bug152.check new file mode 100644 index 0000000000..fddfbfa879 --- /dev/null +++ b/test/neg/bug152.check @@ -0,0 +1,4 @@ +bug152.scala:5: type foo.type escapes its defining scope as part of scala.Object { def a: foo.T } +class Bar(foo: Foo) { + ^ +one error found |