]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* gcc.dg/cpp/trad/include.c: #include stdlib.h instead of stdio.h,
authorbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 19 Dec 2006 02:17:15 +0000 (02:17 +0000)
committerbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 19 Dec 2006 02:17:15 +0000 (02:17 +0000)
as newlib's stdio.h uses non-traditional cpp constructs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120038 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/cpp/trad/include.c

index 1ddbda0c8cbc6595038038de9dcf782d92c79860..a5a2d1d83ac515e7dc2535fa24279da8a7271990 100644 (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
index 9ca184b5d82858c1c132c0072169a3635671ee6c..ada8178ea9c418fa35767c676d20d1540cdb5f9c 100644 (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" } */