diff options
Diffstat (limited to 'tests/untried/neg/t5543.check')
-rw-r--r-- | tests/untried/neg/t5543.check | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/untried/neg/t5543.check b/tests/untried/neg/t5543.check new file mode 100644 index 000000000..b61de0f78 --- /dev/null +++ b/tests/untried/neg/t5543.check @@ -0,0 +1,10 @@ +t5543.scala:3: error: not found: type T + def this(x: T) { this() } + ^ +t5543.scala:11: error: not found: value x + def this(a: Int, b: Int = x) { + ^ +t5543.scala:18: error: not found: value x + def this(a: Int = x) { this() } + ^ +three errors found |