Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
d98aab5a7ed06af779fdafa293b0df44ce8606dc
/
.
/
test
/
Preprocessor
/
if_warning.c
blob: bf30d303b66d166201db63af453d15e25640293f [
file
] [
log
] [
blame
]
// RUN: clang %s -E -Wundef -Werror 2>&1 | grep error | count 1 &&
// RUN: clang %s -E -Werror 2>&1 | not grep error
#if foo // Should generate an warning
#endif
#ifdef
foo
#endif
#if defined(foo)
#endif