Files
kotlin-fork/compiler/testData/cli/jvm/Record.java
T
2021-06-29 01:22:08 +02:00

7 lines
275 B
Java
Vendored

// This import checks that the compiler won't parse the "record" word as a soft keyword
// and load the non-existing class named "Unresolved" from this Java source.
import record.Unresolved;
// This class should be resolved correctly.
public record Record(String string) {}