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