xref: /minix3/external/bsd/llvm/dist/clang/test/Frontend/print-header-includes.c (revision 5ba302fdeaa9e153d58b5dcaef42d660aedee92e)
1 // RUN: %clang_cc1 -include Inputs/test3.h -E -H -o %t.out %s 2> %t.err
2 // RUN: FileCheck < %t.err %s
3 
4 // CHECK-NOT: test3.h
5 // CHECK: . {{.*test.h}}
6 // CHECK: .. {{.*test2.h}}
7 
8 // RUN: %clang_cc1 -include Inputs/test3.h -E --show-includes -o %t.out %s 2> %t.err
9 // RUN: FileCheck --check-prefix=MS < %t.err %s
10 // MS-NOT: test3.h
11 // MS: Note: including file: {{.*test.h}}
12 // MS: Note: including file:  {{.*test2.h}}
13 // MS-NOT: Note
14 
15 #include "Inputs/test.h"
16