summaryrefslogtreecommitdiffstats
path: root/clang/test/Preprocessor/_Pragma-poison.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Preprocessor/_Pragma-poison.c')
-rw-r--r--clang/test/Preprocessor/_Pragma-poison.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/clang/test/Preprocessor/_Pragma-poison.c b/clang/test/Preprocessor/_Pragma-poison.c
deleted file mode 100644
index 742f88532ee..00000000000
--- a/clang/test/Preprocessor/_Pragma-poison.c
+++ /dev/null
@@ -1,8 +0,0 @@
-// 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
-
OpenPOWER on IntegriCloud