diff options
Diffstat (limited to 'test/files/pos/t7475e.scala')
-rw-r--r-- | test/files/pos/t7475e.scala | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/files/pos/t7475e.scala b/test/files/pos/t7475e.scala new file mode 100644 index 0000000000..fbc965c4ca --- /dev/null +++ b/test/files/pos/t7475e.scala @@ -0,0 +1,13 @@ +trait U { + private val priv = 0 + type TT = U with T // should allow `priv` + (??? : TT).priv +} + +trait Base { + +} + +trait T extends Base { + +} |