llvm-project/clang/test/Driver/darwin-version.c

7 lines
180 B
C
Raw Normal View History

2009-04-11 06:53:25 +08:00
// RUN: env MACOSX_DEPLOYMENT_TARGET=10.1 clang -ccc-host-triple i386-apple-darwin9 -E %s
#if __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ != 1010
#error Invalid version
#endif