summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/cpp/undef-opt-1.c
blob: 99c524662c696e5e4c58861a7fcf89b5f707acb5 (plain)
1
2
3
4
5
6
7
8
/* Test -undef.  A bug in its handling broke glibc builds because
   "linux" was wrongly defined.  */
/* { dg-do preprocess } */
/* { dg-options "-undef" } */

#ifdef linux
#error -undef broken
#endif