diff options
Diffstat (limited to 'test/files/pos/bug1050.scala')
-rw-r--r-- | test/files/pos/bug1050.scala | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/files/pos/bug1050.scala b/test/files/pos/bug1050.scala new file mode 100644 index 0000000000..8ca79716a9 --- /dev/null +++ b/test/files/pos/bug1050.scala @@ -0,0 +1,10 @@ +package bug1050 + +abstract class A { + type T <: scala.ScalaObject + class A requires T { + def b = 3 + def c = b + b + } +} |