diff --git a/compiler/testData/diagnostics/tests/generics/RecursiveUpperBoundCheck.jet b/compiler/testData/diagnostics/tests/generics/RecursiveUpperBoundCheck.jet new file mode 100644 index 00000000000..33a4ca82b6f --- /dev/null +++ b/compiler/testData/diagnostics/tests/generics/RecursiveUpperBoundCheck.jet @@ -0,0 +1,3 @@ +open class C> +class TestOK : C() +class TestFail : C<C<TestFail>>() diff --git a/compiler/testData/diagnostics/tests/generics/RecursiveUpperBoundWithTwoArguments.jet b/compiler/testData/diagnostics/tests/generics/RecursiveUpperBoundWithTwoArguments.jet new file mode 100644 index 00000000000..3e58ee5012a --- /dev/null +++ b/compiler/testData/diagnostics/tests/generics/RecursiveUpperBoundWithTwoArguments.jet @@ -0,0 +1 @@ +class DString>, B : D>