summaryrefslogtreecommitdiff
path: root/test/neg/bug38.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/neg/bug38.check')
-rw-r--r--test/neg/bug38.check7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/neg/bug38.check b/test/neg/bug38.check
new file mode 100644
index 0000000000..0f0bea262b
--- /dev/null
+++ b/test/neg/bug38.check
@@ -0,0 +1,7 @@
+bug38.scala:3: * is not a member of scala.xml
+ import scala.xml.* ; // does not work
+ ^
+bug38.scala:7: not found: constructor Element
+ val foo = new Element { def getName = "hallo"; def getChildren = Nil; def getAttribs = new HashMap[String,String] };
+ ^
+two errors found