summaryrefslogtreecommitdiff
path: root/test/files/pos/t5756.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/t5756.scala')
-rw-r--r--test/files/pos/t5756.scala6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/pos/t5756.scala b/test/files/pos/t5756.scala
new file mode 100644
index 0000000000..45960fa8bd
--- /dev/null
+++ b/test/files/pos/t5756.scala
@@ -0,0 +1,6 @@
+import scala.reflect.runtime.universe._
+
+object Test extends App {
+ def tagme[T: TypeTag](x: T) = typeTag[T]
+ val foo = tagme{object Bar; Bar}
+} \ No newline at end of file