Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
d7d5f0223bd30dfd618762349c6209dd1d5ea3e6
/
.
/
test
/
Preprocessor
/
_Pragma-poison.c
blob: 742f88532eeca1d623b7fa0835966774062cb310 [
file
] [
log
] [
blame
]
// RUN: clang-cc -Eonly %s 2>&1 | grep error | wc -l | grep 1 &&
// RUN: clang-cc -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