summaryrefslogtreecommitdiff
path: root/test/files/run/showraw_tree_ids.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/showraw_tree_ids.scala')
-rw-r--r--test/files/run/showraw_tree_ids.scala8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/files/run/showraw_tree_ids.scala b/test/files/run/showraw_tree_ids.scala
new file mode 100644
index 0000000000..b56b8b4476
--- /dev/null
+++ b/test/files/run/showraw_tree_ids.scala
@@ -0,0 +1,8 @@
+import scala.reflect.runtime.universe._
+
+object Test extends App {
+ val tree1 = reify(new collection.immutable.HashMap[String, String])
+ val tree2 = reify(new collection.mutable.HashMap[String, String])
+ println(showRaw(tree1.tree, printIds = true))
+ println(showRaw(tree2.tree, printIds = true))
+} \ No newline at end of file