aboutsummaryrefslogtreecommitdiff
path: root/test/Preprocessor/dump-options.c
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-04-12 01:56:53 +0000
committerChris Lattner <sabre@nondot.org>2009-04-12 01:56:53 +0000
commitd82df3ad430397d7f9ef511e7c5157f997c41f53 (patch)
treeaaae12fc79e55c9e071c17b5c83ac3176f7c600f /test/Preprocessor/dump-options.c
parentf4a72b07747cd6ae1a9f6974e148ae504c879349 (diff)
Implement support for GCC's -dD mode, which dumps -E output *and*
macro definitions. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68884 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Preprocessor/dump-options.c')
-rw-r--r--test/Preprocessor/dump-options.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Preprocessor/dump-options.c b/test/Preprocessor/dump-options.c
new file mode 100644
index 0000000000..6910e1a314
--- /dev/null
+++ b/test/Preprocessor/dump-options.c
@@ -0,0 +1,3 @@
+// RUN: clang %s -E -dD | grep __INTMAX_MAX__ &&
+// RUN: clang %s -E -dM | grep __INTMAX_MAX__
+