Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
816dd50947cd4c43814fab0b904afcb7c94f15d4
/
.
/
test
/
Preprocessor
/
_Pragma-poison.c
blob: 82a7fbecc2e85be890350a911bc32ec222a7d01d [
file
] [
log
] [
blame
]
// RUN: clang -Eonly %s 2>&1 | grep error | wc -l | grep 1 &&
// RUN: clang -Eonly %s 2>&1 | grep 7:4 | wc -l | grep 1
#define
BAR
_Pragma
(
"GCC poison XYZW"
)
XYZW
/*NO ERROR*/
XYZW
// NO ERROR
BAR
XYZW
// ERROR