diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/pointer-arith-6.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/pointer-arith-6.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/testsuite/gcc.dg/pointer-arith-6.c b/gcc/testsuite/gcc.dg/pointer-arith-6.c index 18cd1852995..cf5f08b3e28 100644 --- a/gcc/testsuite/gcc.dg/pointer-arith-6.c +++ b/gcc/testsuite/gcc.dg/pointer-arith-6.c @@ -10,8 +10,8 @@ void f(void); void g (void) { - sizeof (v); /* { dg-warning "warning: invalid application of 'sizeof' to a void type" } */ - sizeof (void); /* { dg-warning "warning: invalid application of 'sizeof' to a void type" } */ - sizeof (f); /* { dg-warning "warning: invalid application of 'sizeof' to a function type" } */ - sizeof (void (void)); /* { dg-warning "warning: invalid application of 'sizeof' to a function type" } */ + sizeof (v); /* { dg-warning "invalid application of 'sizeof' to a void type" } */ + sizeof (void); /* { dg-warning "invalid application of 'sizeof' to a void type" } */ + sizeof (f); /* { dg-warning "invalid application of 'sizeof' to a function type" } */ + sizeof (void (void)); /* { dg-warning "invalid application of 'sizeof' to a function type" } */ } |