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:
parent
54799fcd03
commit
47854fae8e
@ -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
|
||||
|
@ -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
|
||||
|
@ -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__
|
||||
|
Loading…
Reference in New Issue
Block a user