Files
kotlin-fork/compiler/testData/diagnostics/tests/regressions/kt41.jet
T
Stepan Koltsov 07ff53d456 add trailing newlines to test files
otherwise I have to rollback dozens of files after using sed that follows conventions
2012-03-12 22:54:14 +04:00

12 lines
242 B
Plaintext

// KT-41 Make functions with errors in returning statement return ERROR type and not Nothing
package kt41
fun aaa() =
6 <!UNRESOLVED_REFERENCE!>foo<!> 1
fun bbb() {
aaa()
<!UNUSED_EXPRESSION!>1<!> // Stupid error: unreachable code
}