From 21b147f7caf8b558b00044f493cf9da392c7e30e Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Fri, 14 Feb 2003 14:39:24 +0000 Subject: Initial version. --- test/pos/michel1.scala | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 test/pos/michel1.scala (limited to 'test/pos/michel1.scala') diff --git a/test/pos/michel1.scala b/test/pos/michel1.scala new file mode 100644 index 0000000000..d341abbb87 --- /dev/null +++ b/test/pos/michel1.scala @@ -0,0 +1,9 @@ +class A[Ta] (a : Ta) { + def f = 1 +} + +trait C {} + +class B[Tb] (b : Tb) extends C with A[Tb] (b) with { + def g = 2 +} \ No newline at end of file -- cgit v1.2.3