llvm-for-llvmta/tools/clang/test/Driver/darwin-warning-options.c

8 lines
208 B
C
Raw Permalink Normal View History

2022-04-25 13:02:35 +02:00
// REQUIRES: darwin
// 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"