| 1 |
/* Test the usage of option -Wstrict-flex-arrays. */ |
| 2 |
/* { dg-do compile } */ |
| 3 |
/* { dg-options "-O2 -Wstrict-flex-arrays" } */ |
| 4 |
|
| 5 |
int main(int argc, char *argv[]) |
| 6 |
{ |
| 7 |
return 0; |
| 8 |
} |
| 9 |
/* { dg-warning "is ignored when \'-fstrict-flex-arrays\' is not present" "" { target *-*-* } 0 } */ |