blob: 4402d12973345398e3036fb9f45173541c2fdd8f [file] [log] [blame]
// { dg-options "" }
void foo ()
{
int n;
typedef int X[n];
struct Z
{
X x __attribute__((unused)); // { dg-error "7:data member may not have variably modified type" }
void bar (X x __attribute__((unused))); // { dg-error "17:parameter may not have variably modified type" }
};
}