llvm-project/clang/test/Driver/darwin-warning-options.c
Fangrui Song 64666d46c0 [Driver][test] Remove unneeded some REQUIRES:
to decrease the number of unsupported tests on other platforms.
2023-06-06 12:01:22 -07:00

6 lines
215 B
C

// Always error about undefined 'TARGET_OS_*' macros on Darwin.
// RUN: %clang -### --target=arm64-apple-darwin %s 2>&1 | FileCheck %s
// CHECK-DAG: "-Wundef-prefix=TARGET_OS_"
// CHECK-DAG: "-Werror=undef-prefix"