blob: b53295c4366da0aad1ccd097766191ef212cc4b3 [file] [log] [blame]
/* { dg-do compile }
* { dg-options "-O1" } */
extern void abort(void);
int test(int *n) {
struct T { char a[*n], b[*n]; };
return sizeof(struct T) - sizeof(struct T);
}
void f1(int *p) {
if (!test(p)) abort();
}