summaryrefslogtreecommitdiff
path: root/test/files/run/t5840.scala
diff options
context:
space:
mode:
authorEugene Burmako <xeno.by@gmail.com>2012-06-09 11:15:49 +0200
committerEugene Burmako <xeno.by@gmail.com>2012-06-09 11:15:49 +0200
commitcbf1547556f6ab865282702218fabed087797c91 (patch)
tree225d7f20860d324d6855a081e8cadca3a7413972 /test/files/run/t5840.scala
parentd2a58a381905d03552378402f54cbcbeafc04f1e (diff)
downloadscala-cbf1547556f6ab865282702218fabed087797c91.tar.gz
scala-cbf1547556f6ab865282702218fabed087797c91.tar.bz2
scala-cbf1547556f6ab865282702218fabed087797c91.zip
test case, closes SI-5840
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