clang/test/Preprocessor/undef-x86.c
raw| 1 | // RUN: %clang_cc1 -triple=i386-none-none -fsyntax-only -verify %s |
| 2 | // RUN: %clang_cc1 -triple=x86_64-none-none -fsyntax-only -verify %s |
| 3 | |
| 4 | // Check that we can undefine triple-specific defines without warning |
| 5 | // expected-no-diagnostics |
| 6 | #undef __i386 |
| 7 | #undef __i386__ |
| 8 | #undef i386 |
| 9 | #undef __amd64 |
| 10 | #undef __amd64__ |
| 11 | #undef __x86_64 |
| 12 | #undef __x86_64__ |