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