c90-digraph-1.c: Don't xfail.

* gcc.dg/c90-digraph-1.c: Don't xfail.
        * gcc.dg/compare2.c (case 10): Xfail.
        * gcc.dg/noncompile/redecl-1.c: Fix expected error message.

From-SVN: r35357
This commit is contained in:
Richard Henderson 2000-07-30 16:54:59 -07:00 committed by Richard Henderson
parent a4cad54432
commit 1cf0acdd19
4 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2000-07-30 Richard Henderson <rth@cygnus.com>
* gcc.dg/c90-digraph-1.c: Don't xfail.
* gcc.dg/compare2.c (case 10): Xfail.
* gcc.dg/noncompile/redecl-1.c: Fix expected error message.
2000-07-27 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/c99-main-1.c: New test.

View File

@ -2,7 +2,6 @@
mode, but not in C90 mode. Also check correct stringizing.
*/
/* Origin: Joseph Myers <jsm28@cam.ac.uk> */
/* { dg-do run { xfail *-*-* } } */
/* { dg-options "-std=iso9899:1990 -pedantic-errors" } */
#define str(x) xstr(x)

View File

@ -26,7 +26,7 @@ void f(int x, unsigned int y)
/* Statement expression. */
x > ({tf; 64;}); /* { dg-bogus "signed and unsigned" "case 9" } */
y > ({tf; 64;}); /* { dg-bogus "signed and unsigned" "case 10" } */
y > ({tf; 64;}); /* { dg-bogus "signed and unsigned" "case 10" { xfail *-*-* } } */
/* Statement expression with recursive ?: . */
x > ({tf; tf?64:(tf?128:256);}); /* { dg-bogus "signed and unsigned" "case 11" } */

View File

@ -4,7 +4,7 @@
int
foo ()
{
int bar; /* { dg-error "previous declaration" "previously declared" } */
int bar; /* { dg-error "previously declared" "previously declared" } */
volatile int bar; /* { dg-error "redeclaration" "redeclaration" } */
}