summaryrefslogtreecommitdiff
path: root/test/pos/bug30.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2003-07-08 13:19:33 +0000
committerMartin Odersky <odersky@gmail.com>2003-07-08 13:19:33 +0000
commitfedbced652b533da4baeea37c39c058d2cd2afd8 (patch)
tree6abfe4284db8f92c12fba14d671de6f7b827068e /test/pos/bug30.scala
parent639f1084419fb54acf6ee9f6c405e302ba21abd3 (diff)
downloadscala-fedbced652b533da4baeea37c39c058d2cd2afd8.tar.gz
scala-fedbced652b533da4baeea37c39c058d2cd2afd8.tar.bz2
scala-fedbced652b533da4baeea37c39c058d2cd2afd8.zip
*** empty log message ***
Diffstat (limited to 'test/pos/bug30.scala')
-rw-r--r--test/pos/bug30.scala9
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 = ();
+}