1 // REQUIRES: darwin
2 
3 // Always error about undefined 'TARGET_OS_*' macros on Darwin.
4 // RUN: %clang -### %s 2>&1 | FileCheck %s
5 
6 // CHECK-DAG: "-Wundef-prefix=TARGET_OS_"
7 // CHECK-DAG: "-Werror=undef-prefix"
8