Add line marker test for primary constructors #KT-20254 Fixed

This commit is contained in:
Mikhail Glukhikh
2017-10-09 13:45:35 +03:00
parent 0ebe9d576a
commit eec8be2c21
9 changed files with 56 additions and 0 deletions
@@ -0,0 +1,3 @@
expect class <lineMarker>NoConstructor2</lineMarker> {
fun <lineMarker>extraFun</lineMarker>()
}
@@ -0,0 +1,7 @@
// !CHECK_HIGHLIGHTING
actual class NoConstructor2(name: String) {
val myName = name
actual fun extraFun() {}
}