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');