mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
A parse-only option is needed for parse performance tracking and the current option also includes semantic analysis.
17 lines
486 B
Swift
17 lines
486 B
Swift
// RUN: %target-typecheck-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
|