diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2014-02-18 11:59:29 +0100 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2014-02-18 11:59:29 +0100 |
commit | de7abde4c39d1c3cab4d030871c760c9a33fad0e (patch) | |
tree | dda308390b5b6cd01e93ec4875db98bc1eabef7b /test | |
parent | 8536c3148d5a6283b580a905ca4231e852525d59 (diff) | |
download | scala-de7abde4c39d1c3cab4d030871c760c9a33fad0e.tar.gz scala-de7abde4c39d1c3cab4d030871c760c9a33fad0e.tar.bz2 scala-de7abde4c39d1c3cab4d030871c760c9a33fad0e.zip |
SI-5134 Test case for fixed DelayedInit / structural type bug
As with SI-5655, this started working in b4fbb7be0e by @magarciaEPFL
Diffstat (limited to 'test')
-rw-r--r-- | test/files/run/t5134.scala | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/files/run/t5134.scala b/test/files/run/t5134.scala new file mode 100644 index 0000000000..384442fda2 --- /dev/null +++ b/test/files/run/t5134.scala @@ -0,0 +1,8 @@ +import language._ + +object Test extends App { + def b = new AnyRef { + def a= () + } + b.a match { case _ => () } +} |