Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
67ac90ce0868ee0c9cd08d72460f16efecded549
/
.
/
plugins
/
noarg
/
testData
/
box
/
sealedClassWithExistingNoargCtor.kt
blob: 4dac6aa63c5ec25c83d64d5122b0744b962f090b [
file
]
// WITH_STDLIB
annotation
class
NoArg
@NoArg
sealed
class
MappedSuperClass
@NoArg
class
ConcreteClass
(
val x
:
String
)
:
MappedSuperClass
()
fun box
():
String
{
ConcreteClass
::
class
.
java
.
getConstructor
().
newInstance
()
return
"OK"
}