diff options
Diffstat (limited to 'tests/untried/neg/t1960.check')
-rw-r--r-- | tests/untried/neg/t1960.check | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/untried/neg/t1960.check b/tests/untried/neg/t1960.check new file mode 100644 index 000000000..5238141c4 --- /dev/null +++ b/tests/untried/neg/t1960.check @@ -0,0 +1,4 @@ +t1960.scala:5: error: parameter 'p' requires field but conflicts with method p in trait TBase +class Aclass (p: Int) extends TBase { def g() { f(p) } } + ^ +one error found |