summaryrefslogtreecommitdiff
path: root/test/files/pos/t1203.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/t1203.scala')
-rw-r--r--test/files/pos/t1203.scala7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/pos/t1203.scala b/test/files/pos/t1203.scala
new file mode 100644
index 0000000000..4938621aa9
--- /dev/null
+++ b/test/files/pos/t1203.scala
@@ -0,0 +1,7 @@
+case class ant(t: String) extends Annotation
+object Test {
+ def main(args: Array[String]): Unit = {
+ val a: scala.xml.NodeSeq @ant("12") = Nil
+ println(a)
+ }
+}