From bb0cf4f92fef35f82300ea45645fbdcf7ef74408 Mon Sep 17 00:00:00 2001 From: Stepan Koltsov Date: Thu, 9 Feb 2012 19:04:17 +0400 Subject: [PATCH] JetDiagnosticsTest: diamond with generics --- .../diagnostics/tests/DiamondFunctionGeneric.jet | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 compiler/testData/diagnostics/tests/DiamondFunctionGeneric.jet diff --git a/compiler/testData/diagnostics/tests/DiamondFunctionGeneric.jet b/compiler/testData/diagnostics/tests/DiamondFunctionGeneric.jet new file mode 100644 index 00000000000..aa22ec900e8 --- /dev/null +++ b/compiler/testData/diagnostics/tests/DiamondFunctionGeneric.jet @@ -0,0 +1,9 @@ +open class Base

() { + fun f() = 1 +} + +open class Left

() : Base

() + +trait Right

: Base

+ +class Diamond

() : Left

(), Right