| 1 |
/* Test limits for _Bool not in <limits.h> in C11. */ |
| 2 |
/* { dg-do compile } */ |
| 3 |
/* { dg-options "-std=c11" } */ |
| 4 |
|
| 5 |
#include <limits.h> |
| 6 |
|
| 7 |
#ifdef BOOL_MAX |
| 8 |
# error "unexpected BOOL_MAX" |
| 9 |
#endif |
| 10 |
|
| 11 |
#ifdef BOOL_WIDTH |
| 12 |
# error "unexpected BOOL_WIDTH" |
| 13 |
#endif |