summaryrefslogtreecommitdiff
path: root/test/files/run/annotatedRetyping.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/annotatedRetyping.check')
-rw-r--r--test/files/run/annotatedRetyping.check6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/run/annotatedRetyping.check b/test/files/run/annotatedRetyping.check
new file mode 100644
index 0000000000..b296a80526
--- /dev/null
+++ b/test/files/run/annotatedRetyping.check
@@ -0,0 +1,6 @@
+typing List(1, 2).map(((x) => {
+ val another = scala.Tuple2(t.nt, t.tr): @testAnn match {
+ case scala.Tuple2(_, _) => 1
+ };
+ x
+}))