From 9ef5f6817688f814a3450126aa7383b0928e80a0 Mon Sep 17 00:00:00 2001 From: Samuel Gruetter Date: Wed, 12 Mar 2014 22:44:33 +0100 Subject: add tests from scala/test/files/{pos,neg} with explicit Unit return type --- tests/untried/neg/t7475c.check | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 tests/untried/neg/t7475c.check (limited to 'tests/untried/neg/t7475c.check') diff --git a/tests/untried/neg/t7475c.check b/tests/untried/neg/t7475c.check new file mode 100644 index 000000000..472808131 --- /dev/null +++ b/tests/untried/neg/t7475c.check @@ -0,0 +1,7 @@ +t7475c.scala:6: error: value a is not a member of A.this.B + println(this.a) // wait, what? + ^ +t7475c.scala:7: error: value b is not a member of A.this.B + println(this.b) // wait, what? + ^ +two errors found -- cgit v1.2.3