]>
Commit | Line | Data |
---|---|---|
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" } */ | |
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 | } |