diff options
Diffstat (limited to 'tests/neg/i1531.scala')
-rw-r--r-- | tests/neg/i1531.scala | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/neg/i1531.scala b/tests/neg/i1531.scala new file mode 100644 index 000000000..3c05e9509 --- /dev/null +++ b/tests/neg/i1531.scala @@ -0,0 +1,6 @@ +trait T { + def f: Int +} + +class A(f: Int) extends T // error: class A needs to be abstract + |