summaryrefslogtreecommitdiff
path: root/test/files/pos/t0453.scala
diff options
context:
space:
mode:
authorGeoffrey Washburn <geoffrey.washburn@epfl.ch>2008-10-09 15:08:47 +0000
committerGeoffrey Washburn <geoffrey.washburn@epfl.ch>2008-10-09 15:08:47 +0000
commit3eacec9453dd6599118f90fb6f30a39d3427da3b (patch)
tree879b29e1bdd48aa3196c0a0c90382c64e7b459a0 /test/files/pos/t0453.scala
parent7fc6432ea636d23b50aa04f2f4a8b64de067c8ad (diff)
downloadscala-3eacec9453dd6599118f90fb6f30a39d3427da3b.tar.gz
scala-3eacec9453dd6599118f90fb6f30a39d3427da3b.tar.bz2
scala-3eacec9453dd6599118f90fb6f30a39d3427da3b.zip
Added test for #453
Diffstat (limited to 'test/files/pos/t0453.scala')
-rw-r--r--test/files/pos/t0453.scala6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/pos/t0453.scala b/test/files/pos/t0453.scala
new file mode 100644
index 0000000000..dfacc5eed7
--- /dev/null
+++ b/test/files/pos/t0453.scala
@@ -0,0 +1,6 @@
+object Test {
+ val foo = new {
+ trait Bar
+ def l () : Bar = { new Bar {} }
+ }
+}