diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/array-quals-2.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/array-quals-2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/array-quals-2.c b/gcc/testsuite/gcc.dg/array-quals-2.c index 5d20244b344..2f1304e2a64 100644 --- a/gcc/testsuite/gcc.dg/array-quals-2.c +++ b/gcc/testsuite/gcc.dg/array-quals-2.c @@ -10,5 +10,5 @@ typedef volatile char U[1]; T *p; T2 *p2; U *q; -void *f(void) { return 1 ? p : q; } /* { dg-warning "warning: pointer type mismatch in conditional expression" } */ +void *f(void) { return 1 ? p : q; } /* { dg-warning "pointer type mismatch in conditional expression" } */ T *g(void) { return 1 ? p : p2; } |