Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
9fc4d94d04f972782fee2dc5b3b25d052d88601a
/
.
/
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"
}