1*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -fsyntax-only -verify %s 2*0a6a1f1dSLionel Sambuc 3*0a6a1f1dSLionel Sambuc // Avoid preprocessor diag crash caused by a parser diag left in flight. 4*0a6a1f1dSLionel Sambuc 5*0a6a1f1dSLionel Sambuc int foo: // expected-error {{expected ';' after top level declarator}} 6*0a6a1f1dSLionel Sambuc #endif // expected-error {{#endif without #if}} 7