summaryrefslogtreecommitdiff
path: root/test/files/run/t6277.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t6277.scala')
-rw-r--r--test/files/run/t6277.scala9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/files/run/t6277.scala b/test/files/run/t6277.scala
new file mode 100644
index 0000000000..41feee8a8a
--- /dev/null
+++ b/test/files/run/t6277.scala
@@ -0,0 +1,9 @@
+import scala.reflect.runtime.universe._
+
+object Test extends App {
+ locally {
+ val sym = typeOf[List[_]].typeSymbol.asClass
+ val q = sym.isSealed
+ println(q)
+ }
+} \ No newline at end of file