mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Also move a Parse test that's really about conditional compilation directives into the new folder.
10 lines
313 B
Swift
10 lines
313 B
Swift
// RUN: %target-parse-verify-swift
|
|
|
|
// No space next to the '#if'
|
|
|
|
#if
|
|
// expected-error@-1 {{expected a condition to follow #if}}
|
|
class D {} // expected-error {{expected #else or #endif at end of conditional compilation block}}
|
|
#endif
|
|
// expected-error@-1 {{unexpected conditional compilation block terminator}}
|