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.
17 lines
482 B
Swift
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
|