PR middle-end/77357 - strlen of constant strings not folded
[official-gcc.git] / gcc / testsuite / gcc.dg / pr29467.c
blobeaf09c2344d568fa0dd4b669a4c0b3c8690763c4
1 /* PR c/29467 */
2 /* { dg-do compile } */
3 /* { dg-options "-std=c89 -Wpedantic" } */
5 _Bool b; /* { dg-warning "ISO C90 does not support boolean types" } */
6 typedef _Bool B; /* { dg-warning "ISO C90 does not support boolean types" } */
7 static _Bool sb; /* { dg-warning "ISO C90 does not support boolean types" } */
9 _Bool /* { dg-warning "ISO C90 does not support boolean types" } */
10 foo (_Bool bp) /* { dg-warning "ISO C90 does not support boolean types" } */
12 _Bool bl; /* { dg-warning "ISO C90 does not support boolean types" } */