aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/annot.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pos/annot.scala')
-rw-r--r--tests/pos/annot.scala1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/pos/annot.scala b/tests/pos/annot.scala
index dec6af945..bdaf82e12 100644
--- a/tests/pos/annot.scala
+++ b/tests/pos/annot.scala
@@ -24,5 +24,6 @@ class Test {
class C extends A @uncheckedVariance () with B @uncheckedVariance { val x = 10 }
+ val f: (Int => Int) @uncheckedVariance = ???
}