aboutsummaryrefslogtreecommitdiff
path: root/test/Preprocessor/macro_misc.c
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-03-09 20:30:53 +0000
committerChris Lattner <sabre@nondot.org>2009-03-09 20:30:53 +0000
commit5a7a8489195fd376afb7a024f171b7907d3904b4 (patch)
tree9ca070871a44a7191918671c16bc45c6fe08eed7 /test/Preprocessor/macro_misc.c
parented65d3d97132fbcdd124aef4d2478e348dfbd36b (diff)
rename test
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66440 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Preprocessor/macro_misc.c')
-rw-r--r--test/Preprocessor/macro_misc.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Preprocessor/macro_misc.c b/test/Preprocessor/macro_misc.c
new file mode 100644
index 0000000000..f120197716
--- /dev/null
+++ b/test/Preprocessor/macro_misc.c
@@ -0,0 +1,6 @@
+// RUN: clang %s -E 2>&1 | not grep error
+
+// This should not be rejected.
+#ifdef defined
+#endif
+