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,9 @@
// !CHECK_HIGHLIGHTING
header class Header {
fun foo(): Int
}
header fun foo(arg: Int): String
header val flag: Boolean
@@ -0,0 +1,9 @@
impl class <lineMarker>Header</lineMarker> {
impl fun foo() = 42
}
impl fun <lineMarker>foo</lineMarker>(arg: Int) = arg.toString()
impl val <lineMarker>flag</lineMarker> = true