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:
parent
d448860e15
commit
a1e1a45154
@ -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
|
||||
|
@ -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" } */
|
||||
|
Loading…
Reference in New Issue
Block a user