1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
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 */