teak-llvm/clang/test/Frontend/undef.c
Nick Lewycky a6820332b3 The macros defined by the language standard are still available even when the
-undef flag is passed in. Also __ASSEMBLER__ with -x assembler-with-cpp. (Don't
ask.)

llvm-svn: 132708
2011-06-07 06:07:12 +00:00

5 lines
123 B
C

// RUN: %clang -undef -x assembler-with-cpp -E %s
#ifndef __ASSEMBLER__
#error "Must be preprocessed as assembler."
#endif