summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/cpp/trad/__STDC__.c
blob: b25bcb9aa76eae0fafe883a83cbbe2cb42d783af (plain)
1
2
3
4
5
6
7
/* Test that __STDC__ is not defined.  */

/* { dg-do preprocess } */

#if defined __STDC__
# error __STDC__ defined /* { dg-bogus "__STDC__" "__STDC__ defined" } */
#endif