Merge -r 127928:132243 from trunk
[official-gcc.git] / gcc / testsuite / gcc.dg / cpp / trad / include.c
blob94d25f815c6807bfcb57a93a2c3193244ccf2a11
1 /* Copyright (c) 2002 Free Software Foundation Inc. */
3 /* Test that macros are not expanded in the <> quotes of #inlcude. */
5 /* vxWorksCommon.h uses the "#" operator to construct the name of an
6 include file, thus making the file incompatible with -traditional-cpp.
7 Newlib uses ## when including stdlib.h as of 2007-09-07. */
8 /* { dg-do preprocess { target { { ! vxworks_kernel } && { ! newlib } } } } */
10 #define __STDC__ 1 /* Stop complaints about non-ISO compilers. */
11 #define stdlib 1
12 #include <stdlib.h> /* { dg-bogus "o such file or directory" } */