aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/pos/t8177e.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/pos/t8177e.scala')
-rw-r--r--tests/untried/pos/t8177e.scala3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/untried/pos/t8177e.scala b/tests/untried/pos/t8177e.scala
new file mode 100644
index 000000000..cb1136ff1
--- /dev/null
+++ b/tests/untried/pos/t8177e.scala
@@ -0,0 +1,3 @@
+// exercise coevolveSym
+trait T[A] { val foo: { type B = A } = ???; def bar(b: foo.B) = () }
+object O extends T[Int] { bar(0) }