diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/run/i764.scala | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/run/i764.scala b/tests/run/i764.scala new file mode 100644 index 000000000..921bdd23b --- /dev/null +++ b/tests/run/i764.scala @@ -0,0 +1,14 @@ +abstract class A { + def foo: Int +} + +trait B { + def foo = 2 +} + +object Test extends A with B { + + def main(args: Array[String]): Unit = { + this.foo + } +} |