diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/pointer-arith-7.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/pointer-arith-7.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/testsuite/gcc.dg/pointer-arith-7.c b/gcc/testsuite/gcc.dg/pointer-arith-7.c index 73a9b05838b..a65e4286663 100644 --- a/gcc/testsuite/gcc.dg/pointer-arith-7.c +++ b/gcc/testsuite/gcc.dg/pointer-arith-7.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" } */ } |