include.c: #include stdlib.h instead of stdio.h...

* gcc.dg/cpp/trad/include.c: #include stdlib.h instead of stdio.h,
	as newlib's stdio.h uses non-traditional cpp constructs.

From-SVN: r120038
This commit is contained in:
Ben Elliston 2006-12-19 02:17:15 +00:00 committed by Ben Elliston
parent d448860e15
commit a1e1a45154
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2006-12-19 Ben Elliston <bje@au.ibm.com>
* gcc.dg/cpp/trad/include.c: #include stdlib.h instead of stdio.h,
as newlib's stdio.h uses non-traditional cpp constructs.
2006-12-18 Brooks Moses <brooks.moses@codesourcery.com>
* gfortran.dg/advance.f90: Renamed to advance_1.f90

View File

@ -4,6 +4,6 @@
/* { dg-do preprocess } */
#define __STDC__ 1 /* Stop complaints about non-ISO compilers. */
#define stdio 1
#include <stdio.h> /* { dg-bogus "o such file or directory" } */
#define __STDC__ 1 /* Stop complaints about non-ISO compilers. */
#define stdlib 1
#include <stdlib.h> /* { dg-bogus "o such file or directory" } */