diff options
author | paltherr <paltherr@epfl.ch> | 2003-03-17 12:26:27 +0000 |
---|---|---|
committer | paltherr <paltherr@epfl.ch> | 2003-03-17 12:26:27 +0000 |
commit | 9d8a37ee5c2d38b0e580560521ffdbd54d1b9981 (patch) | |
tree | 1f1e17a1ee64765a51289b64cc361dc028165aa2 /test/neg/S2.check | |
parent | 9a4819a03326a8f399d5e398844907b98f299008 (diff) | |
download | scala-9d8a37ee5c2d38b0e580560521ffdbd54d1b9981.tar.gz scala-9d8a37ee5c2d38b0e580560521ffdbd54d1b9981.tar.bz2 scala-9d8a37ee5c2d38b0e580560521ffdbd54d1b9981.zip |
- Added .check files
Diffstat (limited to 'test/neg/S2.check')
-rw-r--r-- | test/neg/S2.check | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/neg/S2.check b/test/neg/S2.check new file mode 100644 index 0000000000..cb6bb9c991 --- /dev/null +++ b/test/neg/S2.check @@ -0,0 +1,7 @@ +S2.scala:14: type z.type escapes its defining scope as part of z.Inner + def x = { val z = new S2(); new z.Inner(); } + ^ +S2.scala:15: type z.type escapes its defining scope as part of z.Inner + def y = { val z = new S2(); new z.Inner(); } + ^ +two errors found |