mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
16 lines
347 B
Swift
16 lines
347 B
Swift
// RUN: %target-parse-verify-swift
|
|
|
|
|
|
#if DEBUG
|
|
|
|
#endif ; // expected-error {{extra tokens at the end of the build configuration directive}}
|
|
|
|
// <rdar://problem/17569958> #endif not parsed correctly when occurs as last line in file
|
|
#if DEBUG
|
|
func debug(msg: String) {
|
|
println(msg)
|
|
}
|
|
#else
|
|
func debug(msg: String) {
|
|
}
|
|
#endif // last line in file |