Files
swift-mirror/test/Parse/ConditionalCompilation/invalid-runtime-name.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

17 lines
482 B
Swift

// RUN: %target-parse-verify-swift
#if _runtime(_ObjC)
#endif
#if _runtime(_Native)
#endif
#if _runtime(ObjC) // expected-error{{unexpected argument for the '_runtime' condition; expected '_Native' or '_ObjC'}}
#endif
#if _runtime(Native) // expected-error{{unexpected argument for the '_runtime' condition; expected '_Native' or '_ObjC'}}
#endif
#if _runtime(Invalid) // expected-error{{unexpected argument for the '_runtime' condition; expected '_Native' or '_ObjC'}}
#endif