include.c: Skip for VxWorks kernels.

gcc/testsuite/
	* gcc.dg/cpp/trad/include.c: Skip for VxWorks kernels.

From-SVN: r126309
This commit is contained in:
Richard Sandiford 2007-07-04 09:58:55 +00:00 committed by Richard Sandiford
parent 2c99d61436
commit f8827b1fff
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2007-07-04 Richard Sandiford <richard@codesourcery.com>
* gcc.dg/cpp/trad/include.c: Skip for VxWorks kernels.
2007-07-04 Richard Sandiford <richard@codesourcery.com>
* gcc.dg/sh4a-fprun.c: Skip for VxWorks kernels.

View File

@ -2,7 +2,9 @@
/* Test that macros are not expanded in the <> quotes of #inlcude. */
/* { dg-do preprocess } */
/* vxWorksCommon.h uses the "#" operator to construct the name of an
include file, thus making the file incompatible with -traditional-cpp. */
/* { dg-do preprocess { target { ! vxworks_kernel } } } */
#define __STDC__ 1 /* Stop complaints about non-ISO compilers. */
#define stdlib 1