• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // RUN: cd %S
2 // RUN: %clang_cc1 -include Inputs/test3.h -E -H -o %t.out %s 2> %t.stderr
3 // RUN: FileCheck < %t.stderr %s
4 
5 // CHECK-NOT: test3.h
6 // CHECK: . {{.*test.h}}
7 // CHECK: .. {{.*test2.h}}
8 
9 // RUN: %clang_cc1 -include Inputs/test3.h -E --show-includes -o %t.out %s > %t.stdout
10 // RUN: FileCheck --check-prefix=MS < %t.stdout %s
11 // MS-NOT: test3.h
12 // MS: Note: including file: {{.*test.h}}
13 // MS: Note: including file:  {{.*test2.h}}
14 // MS-NOT: Note
15 
16 #include "Inputs/test.h"
17