Files
swift-mirror/test/Parse/ConditionalCompilation/no_configuration_error1.swift
Jordan Rose 7954be4d87 [test] Move BuildConfigurations/ to Parse/ConditionalCompilation/.
Also move a Parse test that's really about conditional compilation
directives into the new folder.
2016-02-12 11:10:32 -08:00

8 lines
314 B
Swift

// RUN: %target-parse-verify-swift
// With a space next to the '#if'
#if
// expected-error@-1 {{expected a condition to follow #if}}
class C {} //expected-error {{expected #else or #endif at end of conditional compilation block}}
#endif // expected-error {{unexpected conditional compilation block terminator}}