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

7 lines
181 B
C
Raw Normal View History

// 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