diff options
Diffstat (limited to 'test/files/neg/t8002-nested-scope.check')
-rw-r--r-- | test/files/neg/t8002-nested-scope.check | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/neg/t8002-nested-scope.check b/test/files/neg/t8002-nested-scope.check new file mode 100644 index 0000000000..f66249e432 --- /dev/null +++ b/test/files/neg/t8002-nested-scope.check @@ -0,0 +1,4 @@ +t8002-nested-scope.scala:8: error: method x in class C cannot be accessed in C + new C().x + ^ +one error found |