diff --git a/compiler/testData/diagnostics/tests/j+k/kt2763.kt b/compiler/testData/diagnostics/tests/j+k/kt2763.kt new file mode 100644 index 00000000000..2e06a70d2c8 --- /dev/null +++ b/compiler/testData/diagnostics/tests/j+k/kt2763.kt @@ -0,0 +1,15 @@ +//FILE:Main.kt +fun main(args : Array) { + val inner = Nested().inner() + + println(inner.toString()) +} + +//FILE:Nested.java +public class Nested { + public class Inner$ {} + + public Inner$ inner() { + return new Inner$(); + } +}