summaryrefslogtreecommitdiff
path: root/test/files/pos/t9397.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/t9397.scala')
-rw-r--r--test/files/pos/t9397.scala12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/files/pos/t9397.scala b/test/files/pos/t9397.scala
new file mode 100644
index 0000000000..3dbc6591d3
--- /dev/null
+++ b/test/files/pos/t9397.scala
@@ -0,0 +1,12 @@
+package foo.scala
+
+import scala.reflect.runtime.universe._
+
+object Foo {
+
+ def bar[T: TypeTag]() {
+ }
+
+ import foo._
+ bar[String]()
+}