diff options
Diffstat (limited to 'test/files/pos/t0644.scala')
-rw-r--r-- | test/files/pos/t0644.scala | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/files/pos/t0644.scala b/test/files/pos/t0644.scala new file mode 100644 index 0000000000..a92e2abb53 --- /dev/null +++ b/test/files/pos/t0644.scala @@ -0,0 +1,12 @@ +class A { + def apply(): Int = 0 + def update(n: Int) {} +} + +class B extends A { + this() + this()=1 + // 644 is wontfix so this is what should work. + super.apply() + super.update(1) +} |