summaryrefslogtreecommitdiffstats
path: root/test/Frontend/print-header-includes.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Frontend/print-header-includes.c')
-rw-r--r--test/Frontend/print-header-includes.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Frontend/print-header-includes.c b/test/Frontend/print-header-includes.c
index 7773d20..aa3e397 100644
--- a/test/Frontend/print-header-includes.c
+++ b/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"
OpenPOWER on IntegriCloud