diff options
author | Adriaan Moors <adriaan.moors@epfl.ch> | 2012-06-19 01:53:46 -0700 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@epfl.ch> | 2012-06-19 01:53:46 -0700 |
commit | acbb2f668d363f062fdbb951b33b00dbfcca47ad (patch) | |
tree | 4b007cbda7ee26a02e848fc0729d2e32c1b82bce /test/pending/run/t5334_2.scala | |
parent | c45132363dadb07cf372edc57ca6dbcfa97f1c0e (diff) | |
parent | bec459a554d978f19dc0b40289d9179dbc28de78 (diff) | |
download | scala-acbb2f668d363f062fdbb951b33b00dbfcca47ad.tar.gz scala-acbb2f668d363f062fdbb951b33b00dbfcca47ad.tar.bz2 scala-acbb2f668d363f062fdbb951b33b00dbfcca47ad.zip |
Merge pull request #737 from scalamacros/topic/reifyanonymous
enables reification of anonymous classes
Diffstat (limited to 'test/pending/run/t5334_2.scala')
-rw-r--r-- | test/pending/run/t5334_2.scala | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/pending/run/t5334_2.scala b/test/pending/run/t5334_2.scala new file mode 100644 index 0000000000..e082e3b8e3 --- /dev/null +++ b/test/pending/run/t5334_2.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" } + List((new C, new C)) + }.eval +}
\ No newline at end of file |