commit | 0a70c64b090ea8b34db1b2764a46f9c364193a7a | [log] [tgz] |
---|---|---|
author | Daniel Dunbar <daniel@zuster.org> | Sun May 03 09:35:25 2009 +0000 |
committer | Daniel Dunbar <daniel@zuster.org> | Sun May 03 09:35:25 2009 +0000 |
tree | 8750cb6ef0aa0f26c8fa8d2b2eec6c146e44fdcb | |
parent | 0bdaa5b576237195a260d347f2646cf42ec7d745 [diff] [blame] |
PR4063: Fix dependency generation with -E. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70686 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Preprocessor/depencies-and-pp.c b/test/Preprocessor/depencies-and-pp.c new file mode 100644 index 0000000..ec66c73 --- /dev/null +++ b/test/Preprocessor/depencies-and-pp.c
@@ -0,0 +1,4 @@ +// RUN: clang -E -o %t.1 %s && +// RUN: clang -E -MD -MF %t.d -MT foo -o %t.2 %s && +// RUN: diff %t.1 %t.2 && +// RUN: grep "foo:" %t.d