diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2014-02-18 17:11:54 +0100 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2014-02-18 17:11:54 +0100 |
commit | 594cd47565388f783b4eee9fbd8baaffbec95c0d (patch) | |
tree | 3209e10ffa344fdf3d2052802b14c91e2d81c2d3 /test | |
parent | a1efb4861991481aafcae1d3177790801df702ae (diff) | |
parent | de7abde4c39d1c3cab4d030871c760c9a33fad0e (diff) | |
download | scala-594cd47565388f783b4eee9fbd8baaffbec95c0d.tar.gz scala-594cd47565388f783b4eee9fbd8baaffbec95c0d.tar.bz2 scala-594cd47565388f783b4eee9fbd8baaffbec95c0d.zip |
Merge pull request #3549 from retronym/ticket/5134
SI-5134 Test case for fixed DelayedInit / structural type bug
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 _ => () } +} |