diff options
author | paltherr <paltherr@epfl.ch> | 2004-01-19 09:25:20 +0000 |
---|---|---|
committer | paltherr <paltherr@epfl.ch> | 2004-01-19 09:25:20 +0000 |
commit | 1dbc00126bf0e660b0286ac247271549158bcb65 (patch) | |
tree | fce1c2b6f71dd879b752edc54289386fb86942e1 /test/neg/bug145.scala | |
parent | a7fc16dfe690cf0f0a7db36596c7e26a8c417f82 (diff) | |
download | scala-1dbc00126bf0e660b0286ac247271549158bcb65.tar.gz scala-1dbc00126bf0e660b0286ac247271549158bcb65.tar.bz2 scala-1dbc00126bf0e660b0286ac247271549158bcb65.zip |
- Moved test/pos test/neg and test/new into tes...
- Moved test/pos test/neg and test/new into test/files
Diffstat (limited to 'test/neg/bug145.scala')
-rw-r--r-- | test/neg/bug145.scala | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/test/neg/bug145.scala b/test/neg/bug145.scala deleted file mode 100644 index da66ddba05..0000000000 --- a/test/neg/bug145.scala +++ /dev/null @@ -1,17 +0,0 @@ -class B[T] { - def foo(x: T): Int = 1; -} -trait J[T] { - def foo(x: T): Int; -} -trait I[T] extends B[T] with J[T] { - abstract override def foo(x: T): Int = super[J].foo(x) + 1; -} -class C extends B[Int] { - override def foo(x: Int): Int = x; -} -class D extends C with I[Int]; -object T with Application { - System.out.println((new D).foo(3)); -} - |