diff options
Diffstat (limited to 'test/files/pos')
-rw-r--r-- | test/files/pos/t7668.scala | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/files/pos/t7668.scala b/test/files/pos/t7668.scala new file mode 100644 index 0000000000..222a13d039 --- /dev/null +++ b/test/files/pos/t7668.scala @@ -0,0 +1,12 @@ +trait Space { + type T + val x: T +} + +trait Extractor { + def extract(s: Space): s.T +} + +class Sub extends Extractor { + def extract(s: Space) = s.x +} |