diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2017-01-22 16:52:41 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2017-01-22 16:52:41 +0000 |
| commit | 5df539a1004bc4db5c38b33ba3e219595a10ae3c (patch) | |
| tree | 8f7162c2eeb96f9bef560b568c3a039187a31953 /test/Preprocessor | |
| parent | d2e0a8dd949ab874c6d66f97106bd5c270e2fa7d (diff) | |
Notes
Diffstat (limited to 'test/Preprocessor')
| -rw-r--r-- | test/Preprocessor/dependencies-and-pp.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Preprocessor/dependencies-and-pp.c b/test/Preprocessor/dependencies-and-pp.c index fb4963804093..8bf32dc0fd65 100644 --- a/test/Preprocessor/dependencies-and-pp.c +++ b/test/Preprocessor/dependencies-and-pp.c @@ -32,5 +32,12 @@ // RUN: FileCheck -check-prefix=TEST5 %s < %t.d // TEST5: foo $$(bar) b az qu\ ux \ space: +// Test self dependency, PR31644 + +// RUN: %clang -E -MD -MP -MF %t.d %s +// RUN: FileCheck -check-prefix=TEST6 %s < %t.d +// TEST6: dependencies-and-pp.c +// TEST6-NOT: dependencies-and-pp.c: + // TODO: Test default target without quoting // TODO: Test default target with quoting |
