diff options
author | Martin Odersky <odersky@gmail.com> | 2003-07-08 13:19:33 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2003-07-08 13:19:33 +0000 |
commit | fedbced652b533da4baeea37c39c058d2cd2afd8 (patch) | |
tree | 6abfe4284db8f92c12fba14d671de6f7b827068e /test/pos/bug30.scala | |
parent | 639f1084419fb54acf6ee9f6c405e302ba21abd3 (diff) | |
download | scala-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.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 = (); +} |