commit | d82df3ad430397d7f9ef511e7c5157f997c41f53 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sun Apr 12 01:56:53 2009 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sun Apr 12 01:56:53 2009 +0000 |
tree | aaae12fc79e55c9e071c17b5c83ac3176f7c600f | |
parent | f4a72b07747cd6ae1a9f6974e148ae504c879349 [diff] [blame] |
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
diff --git a/test/Preprocessor/dump-options.c b/test/Preprocessor/dump-options.c new file mode 100644 index 0000000..6910e1a --- /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__ +