cmdlne-dU-16.c: Specify -std=c89 on Solaris.

* gcc.dg/cpp/cmdlne-dU-16.c: Specify -std=c89 on Solaris.
	* gcc.dg/cpp/cmdlne-dU-17.c: Likewise.

From-SVN: r140581
This commit is contained in:
Eric Botcazou 2008-09-23 08:52:53 +00:00 committed by Eric Botcazou
parent 54799fcd03
commit 47854fae8e
3 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2008-09-23 Eric Botcazou <ebotcazou@adacore.com>
* gcc.dg/cpp/cmdlne-dU-16.c: Specify -std=c89 on Solaris.
* gcc.dg/cpp/cmdlne-dU-17.c: Likewise.
2008-09-23 Tobias Burnus <burnus@net-b.de>
PR fortran/37580

View File

@ -1,5 +1,6 @@
/* { dg-do preprocess } */
/* { dg-options "-P -dU" } */
/* { dg-options "-P -dU -std=c89" { target *-*-solaris2.* } } */
/* { dg-final { scan-file cmdlne-dU-16.i "^\n*#define __STDC__ 1\n*$" } } */
#ifdef __STDC__
#endif

View File

@ -1,4 +1,5 @@
/* { dg-do preprocess } */
/* { dg-options "-P -dU" } */
/* { dg-options "-P -dU -std=c89" { target *-*-solaris2.* } } */
/* { dg-final { scan-file cmdlne-dU-17.i "^\n*1\n+#define __STDC__ 1\n*$" } } */
__STDC__