diff options
author | Eugene Burmako <xeno.by@gmail.com> | 2012-06-18 14:11:00 +0200 |
---|---|---|
committer | Eugene Burmako <xeno.by@gmail.com> | 2012-06-18 17:33:21 +0200 |
commit | bec459a554d978f19dc0b40289d9179dbc28de78 (patch) | |
tree | 2cbdb165d33907a40a70a6529f87007b39c3831e /test/pending/run/t5334_1.scala | |
parent | 9a28ee1ffc085bc680c48b12ad632b9133adf020 (diff) | |
download | scala-bec459a554d978f19dc0b40289d9179dbc28de78.tar.gz scala-bec459a554d978f19dc0b40289d9179dbc28de78.tar.bz2 scala-bec459a554d978f19dc0b40289d9179dbc28de78.zip |
enables reification of anonymous classes
Diffstat (limited to 'test/pending/run/t5334_1.scala')
-rw-r--r-- | test/pending/run/t5334_1.scala | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/pending/run/t5334_1.scala b/test/pending/run/t5334_1.scala new file mode 100644 index 0000000000..b75badb145 --- /dev/null +++ b/test/pending/run/t5334_1.scala @@ -0,0 +1,9 @@ +import scala.reflect.runtime.universe._ +import scala.tools.reflect.Eval + +object Test extends App { + reify { + class C { override def toString = "C" } + new C + }.eval +}
\ No newline at end of file |