diff options
Diffstat (limited to 'tests/pos/t0030.scala')
-rw-r--r-- | tests/pos/t0030.scala | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/pos/t0030.scala b/tests/pos/t0030.scala new file mode 100644 index 000000000..2f23be14d --- /dev/null +++ b/tests/pos/t0030.scala @@ -0,0 +1,9 @@ +trait A { + def f(x: Int): Unit; + def f(x: String): Unit; +} + +class B extends A { + def f(x: Int): Unit = (); + def f(x: String): Unit = (); +} |