Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
ae7cbf1a0fa652217f2fb5ed2c3a173f55b49958
/
.
/
test
/
Preprocessor
/
if_warning.c
blob: acb6d5ea422de92e2eba40c01f79ce7d8c7220d2 [
file
] [
log
] [
blame
]
// RUN: clang-cc %s -Eonly -Werror=undef -verify
extern
int
x
;
#if foo // expected-error {{'foo' is not defined, evaluates to 0}}
#endif
#ifdef
foo
#endif
#if defined(foo)
#endif