]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/gcc.dg/pr29467.c
Update copyright years.
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / pr29467.c
CommitLineData
c9379ce2
MP
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" } */
6typedef _Bool B; /* { dg-warning "ISO C90 does not support boolean types" } */
7static _Bool sb; /* { dg-warning "ISO C90 does not support boolean types" } */
8
9_Bool /* { dg-warning "ISO C90 does not support boolean types" } */
10foo (_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}