mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-12 00:21:32 +00:00
10 lines
237 B
Kotlin
Vendored
10 lines
237 B
Kotlin
Vendored
// "Add 'inner' modifier" "false"
|
|
// ACTION: Create test
|
|
// ERROR: Class is not allowed here
|
|
// ERROR: Data class must have at least one primary constructor parameter
|
|
class A() {
|
|
inner class B() {
|
|
data class <caret>C
|
|
}
|
|
}
|