]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.dg/pr29467.c
Update copyright years.
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / pr29467.c
1 /* PR c/29467 */
2 /* { dg-do compile } */
3 /* { dg-options "-std=c89 -Wpedantic" } */
4
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" } */
8
9 _Bool /* { dg-warning "ISO C90 does not support boolean types" } */
10 foo (_Bool bp) /* { dg-warning "ISO C90 does not support boolean types" } */
11 {
12 _Bool bl; /* { dg-warning "ISO C90 does not support boolean types" } */
13 }