summaryrefslogtreecommitdiff
path: root/test/files/neg/bug38.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/bug38.scala')
-rw-r--r--test/files/neg/bug38.scala11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/files/neg/bug38.scala b/test/files/neg/bug38.scala
new file mode 100644
index 0000000000..8f31ad9a0e
--- /dev/null
+++ b/test/files/neg/bug38.scala
@@ -0,0 +1,11 @@
+object testElem {
+
+ import scala.xml.* ; // does not work
+ //import scala.xml.Element ; //works
+
+ def main( args:Array[String] ) = {
+ val foo = new Element { def getName = "hallo"; def getChildren = Nil; def getAttribs = new HashMap[String,String] };
+ ()
+ }
+
+}