diff options
Diffstat (limited to 'test/pos/bug30.scala')
-rw-r--r-- | test/pos/bug30.scala | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/pos/bug30.scala b/test/pos/bug30.scala new file mode 100644 index 0000000000..6d28e18c0d --- /dev/null +++ b/test/pos/bug30.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 = (); +} |