2020-08-06 06:03:21 +08:00
|
|
|
// REQUIRES: darwin
|
2020-07-07 05:52:12 +08:00
|
|
|
|
|
|
|
// Always error about undefined 'TARGET_OS_*' macros on Darwin.
|
|
|
|
// RUN: %clang -### %s 2>&1 | FileCheck %s
|
|
|
|
|
|
|
|
// CHECK-DAG: "-Wundef-prefix=TARGET_OS_"
|
|
|
|
// CHECK-DAG: "-Werror=undef-prefix"
|