diff options
Diffstat (limited to 'clang/test/Frontend/print-header-includes.c')
| -rw-r--r-- | clang/test/Frontend/print-header-includes.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/clang/test/Frontend/print-header-includes.c b/clang/test/Frontend/print-header-includes.c index 7773d2069d9..aa3e3971fd1 100644 --- a/clang/test/Frontend/print-header-includes.c +++ b/clang/test/Frontend/print-header-includes.c @@ -5,4 +5,11 @@ // CHECK: . {{.*test.h}} // CHECK: .. {{.*test2.h}} +// RUN: %clang_cc1 -include Inputs/test3.h -E --show-includes -o %t.out %s 2> %t.err +// RUN: FileCheck --check-prefix=MS < %t.err %s +// MS-NOT: test3.h +// MS: Note: including file: {{.*test.h}} +// MS: Note: including file: {{.*test2.h}} +// MS-NOT: Note + #include "Inputs/test.h" |

