summaryrefslogtreecommitdiff
path: root/test/neg/overload.check
diff options
context:
space:
mode:
authorpaltherr <paltherr@epfl.ch>2004-01-19 09:25:20 +0000
committerpaltherr <paltherr@epfl.ch>2004-01-19 09:25:20 +0000
commit1dbc00126bf0e660b0286ac247271549158bcb65 (patch)
treefce1c2b6f71dd879b752edc54289386fb86942e1 /test/neg/overload.check
parenta7fc16dfe690cf0f0a7db36596c7e26a8c417f82 (diff)
downloadscala-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/overload.check')
-rw-r--r--test/neg/overload.check19
1 files changed, 0 insertions, 19 deletions
diff --git a/test/neg/overload.check b/test/neg/overload.check
deleted file mode 100644
index 011f10de7f..0000000000
--- a/test/neg/overload.check
+++ /dev/null
@@ -1,19 +0,0 @@
-overload.scala:15: x is already defined as value x in class Test
- var x: int = 3;
- ^
-overload.scala:5: foo is already defined in local scope
- def foo() = 2;
- ^
-overload.scala:11: ambiguous reference to overloaded definition,
-both method foo: ()scala.Int
-and method foo: ()scala.Int
-match argument types ()
- foo();
- ^
-overload.scala:13: ambiguous reference to overloaded definition,
-both value x$: scala.Int
-and variable x$: scala.Int
-match expected type scala.Int
- val x: int = 1;
- ^
-four errors found