diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/bitfld-13.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/bitfld-13.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/testsuite/gcc.dg/bitfld-13.c b/gcc/testsuite/gcc.dg/bitfld-13.c index 012a3e55a30..fcb381c86b6 100644 --- a/gcc/testsuite/gcc.dg/bitfld-13.c +++ b/gcc/testsuite/gcc.dg/bitfld-13.c @@ -6,9 +6,9 @@ int main(void) { struct X { - int s[20] : 1; /* { dg-error "error: bit-field 's' has invalid type" } */ - int *p : 2; /* { dg-error "error: bit-field 'p' has invalid type" } */ - int (*f)(float) : 3; /* { dg-error "error: bit-field 'f' has invalid type" } */ + int s[20] : 1; /* { dg-error "bit-field 's' has invalid type" } */ + int *p : 2; /* { dg-error "bit-field 'p' has invalid type" } */ + int (*f)(float) : 3; /* { dg-error "bit-field 'f' has invalid type" } */ } x; return 0; } |