1 /* bug-2940.c 2 3 Missing diagnostic on auto at file scope 4 */ 5 6 #ifdef TEST1 7 auto int i; /* ERROR */ 8 #endif 9 10