summaryrefslogtreecommitdiffstats
path: root/clang/test/Preprocessor/macro_disable2.c
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-07-19 08:13:21 +0000
committerChris Lattner <sabre@nondot.org>2006-07-19 08:13:21 +0000
commit9100cff7014d619fd5d3e9ef40018ee80f2a27a8 (patch)
tree30ef10fabd028993b6671fc7463490df09f09c40 /clang/test/Preprocessor/macro_disable2.c
parentae637cd2a9c38f7a1f40681c5875e06e79036dee (diff)
downloadbcm5719-llvm-9100cff7014d619fd5d3e9ef40018ee80f2a27a8.tar.gz
bcm5719-llvm-9100cff7014d619fd5d3e9ef40018ee80f2a27a8.zip
new testcase
llvm-svn: 38743
Diffstat (limited to 'clang/test/Preprocessor/macro_disable2.c')
-rw-r--r--clang/test/Preprocessor/macro_disable2.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/clang/test/Preprocessor/macro_disable2.c b/clang/test/Preprocessor/macro_disable2.c
new file mode 100644
index 00000000000..6e1f80469c3
--- /dev/null
+++ b/clang/test/Preprocessor/macro_disable2.c
@@ -0,0 +1,8 @@
+// RUN: clang -E %s | grep 'A B C A B A C A B C A'
+
+#define A A B C
+#define B B C A
+#define C C A B
+
+A
+
OpenPOWER on IntegriCloud