summaryrefslogtreecommitdiff
path: root/test/files/run/t5840.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t5840.scala')
-rw-r--r--test/files/run/t5840.scala7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/run/t5840.scala b/test/files/run/t5840.scala
new file mode 100644
index 0000000000..da036d5122
--- /dev/null
+++ b/test/files/run/t5840.scala
@@ -0,0 +1,7 @@
+import scala.reflect.runtime.universe._
+
+object Test extends App {
+ reify {
+ class C[T <: String with Singleton]
+ }
+} \ No newline at end of file