Files
swift-mirror/test/Parse/ConditionalCompilation/invalid-runtime-name.swift
David Farler b7d17b25ba Rename -parse flag to -typecheck
A parse-only option is needed for parse performance tracking and the
current option also includes semantic analysis.
2016-11-28 10:50:55 -08:00

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