diff --git a/compiler/testData/diagnostics/tests/OverrideFunctionWithParamDefaultValue.jet b/compiler/testData/diagnostics/tests/OverrideFunctionWithParamDefaultValue.jet new file mode 100644 index 00000000000..df495e555ff --- /dev/null +++ b/compiler/testData/diagnostics/tests/OverrideFunctionWithParamDefaultValue.jet @@ -0,0 +1,11 @@ +abstract class B() { + abstract fun foo2(arg: Int = 239) : Int +} + +class C() : B() { + override fun foo2(arg: Int) : Int = arg +} + +fun invokeIt() { + C().foo2() +}