summaryrefslogtreecommitdiff
path: root/test/files/pos/t3986.scala
diff options
context:
space:
mode:
authorHubert Plociniczak <hubert.plociniczak@epfl.ch>2011-02-08 12:12:42 +0000
committerHubert Plociniczak <hubert.plociniczak@epfl.ch>2011-02-08 12:12:42 +0000
commit496dc761189182e04c424750ba63077d62dcf78b (patch)
treefe4779705256de274120dce0da66f5b2dcfb20e6 /test/files/pos/t3986.scala
parent75fe0c8bd628df9abbc6a90b5046757b48538294 (diff)
downloadscala-496dc761189182e04c424750ba63077d62dcf78b.tar.gz
scala-496dc761189182e04c424750ba63077d62dcf78b.tar.bz2
scala-496dc761189182e04c424750ba63077d62dcf78b.zip
Closes #3986 plus some cleanup. no review
Diffstat (limited to 'test/files/pos/t3986.scala')
-rw-r--r--test/files/pos/t3986.scala5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/files/pos/t3986.scala b/test/files/pos/t3986.scala
new file mode 100644
index 0000000000..10c4eb435f
--- /dev/null
+++ b/test/files/pos/t3986.scala
@@ -0,0 +1,5 @@
+object Test {
+ def main(args: Array[String]) {
+ new { val x = "abc" } with AnyRef { }
+ }
+}