Files
kotlin-fork/compiler/testData/codegen/boxInline/smap/smap.1.kt
T
Michael Bogdanov 5c6b9b1bc6 New smap test
2015-03-16 18:52:04 +03:00

38 lines
437 B
Kotlin
Vendored

import builders.*
import kotlin.InlineOption.*
inline fun test(): String {
var res = "Fail"
html {
head {
res = "OK"
}
}
return res
}
fun box(): String {
var expected = test();
return expected
}
//SMAP
//smap.1.kt
//Kotlin
//*S Kotlin
//*F
//+ 1 smap.1.kt
//_DefaultPackage
//+ 2 smap.2.kt
//builders/BuildersPackage
//*L
//1#1,38:1
//16#2:39
//4#2,9:40
//8#2,3:49
//5#2:52
//*E