diff options
Diffstat (limited to 'test/Preprocessor/poison.c')
-rw-r--r-- | test/Preprocessor/poison.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Preprocessor/poison.c b/test/Preprocessor/poison.c new file mode 100644 index 0000000000..5df4b47918 --- /dev/null +++ b/test/Preprocessor/poison.c @@ -0,0 +1,4 @@ +// RUN: clang %s -E 2>&1 | grep error + +#pragma GCC poison rindex +rindex(some_string, 'h'); |