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