Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
d7d5f0223bd30dfd618762349c6209dd1d5ea3e6
/
.
/
test
/
Preprocessor
/
poison_expansion.c
blob: 45676c8e6cb9365faa9762d040ba24ca63dea72a [
file
] [
log
] [
blame
]
// RUN: clang-cc %s -E 2>&1 | not grep error
#define
strrchr rindex
#pragma
GCC poison rindex
// Can poison multiple times.
#pragma
GCC poison rindex
strrchr
(
some_string
,
'h'
);