Mercurial > hg > CbC > CbC_llvm
view clang/test/Preprocessor/ifdef-recover.c @ 165:597b3f1c2c93
fix call createTailCallEliminationPass
author | anatofuz |
---|---|
date | Tue, 24 Mar 2020 15:30:52 +0900 |
parents | 1d019706d866 |
children | 2e18cbf3894f |
line wrap: on
line source
/* RUN: %clang_cc1 -E -verify %s */ /* expected-error@+1 {{macro name missing}} */ #ifdef #endif /* expected-error@+1 {{macro name must be an identifier}} */ #ifdef ! #endif /* expected-error@+1 {{macro name missing}} */ #if defined #endif /* PR1936 */ /* expected-error@+2 {{unterminated function-like macro invocation}} expected-error@+2 {{expected value in expression}} expected-note@+1 {{macro 'f' defined here}} */ #define f(x) x #if f(2 #endif int x;