blob: 4dd2c3bf0f79a9801a4e0a9ef1737d1e5e447800 [file] [log] [blame]
static void
g (struct Bar { int i; } *x)
{
struct Bar y;
y.i = 1;
}
static void
h (void)
{
// This is not in scope and should barf loudly.
struct Bar y;
y.i = 1;
}
/*
* check-name: struct not in scope
* check-known-to-fail
*/