summaryrefslogtreecommitdiff
path: root/test/files/pos/bug325.scala
diff options
context:
space:
mode:
authormihaylov <mihaylov@epfl.ch>2006-08-16 09:15:09 +0000
committermihaylov <mihaylov@epfl.ch>2006-08-16 09:15:09 +0000
commitf6b48ea10613b3889a7686eb784a881e31855b4b (patch)
treec56c5648c44053265f34a93d3bda869792d21ff5 /test/files/pos/bug325.scala
parentec74d7c7ece65e1025ccdc33d1ef9ca7f749904e (diff)
downloadscala-f6b48ea10613b3889a7686eb784a881e31855b4b.tar.gz
scala-f6b48ea10613b3889a7686eb784a881e31855b4b.tar.bz2
scala-f6b48ea10613b3889a7686eb784a881e31855b4b.zip
Added test cases for bugs #325 and #676
Diffstat (limited to 'test/files/pos/bug325.scala')
-rw-r--r--test/files/pos/bug325.scala4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/pos/bug325.scala b/test/files/pos/bug325.scala
new file mode 100644
index 0000000000..4b13c431b7
--- /dev/null
+++ b/test/files/pos/bug325.scala
@@ -0,0 +1,4 @@
+class Foobar {
+ val foo = "foo";
+ def foo(bar: String): String = foo + bar; // crashes the compiler
+}