Line marker tests for header <----> impl

This commit is contained in:
Mikhail Glukhikh
2016-12-15 15:44:22 +03:00
parent 84ebca06bc
commit 8f57869fc5
9 changed files with 151 additions and 18 deletions
@@ -0,0 +1,7 @@
header class <lineMarker>Header</lineMarker> {
fun foo(): Int
}
header fun <lineMarker>foo</lineMarker>(arg: Int): String
header val <lineMarker>flag</lineMarker>: Boolean
@@ -0,0 +1,11 @@
// !CHECK_HIGHLIGHTING
impl class Header {
impl fun foo() = 42
}
impl fun foo(arg: Int) = arg.toString()
impl val flag = true