1*0a6a1f1dSLionel Sambuc // REQUIRES: shell 2*0a6a1f1dSLionel Sambuc 3*0a6a1f1dSLionel Sambuc // RUN: cd %S 4*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -include Inputs/test3.h -E -H -o %t.out %s 2> %t.stderr 5*0a6a1f1dSLionel Sambuc // RUN: FileCheck < %t.stderr %s 6f4a2713aSLionel Sambuc 7f4a2713aSLionel Sambuc // CHECK-NOT: test3.h 8f4a2713aSLionel Sambuc // CHECK: . {{.*test.h}} 9f4a2713aSLionel Sambuc // CHECK: .. {{.*test2.h}} 10f4a2713aSLionel Sambuc 11*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -include Inputs/test3.h -E --show-includes -o %t.out %s > %t.stdout 12*0a6a1f1dSLionel Sambuc // RUN: FileCheck --check-prefix=MS < %t.stdout %s 13f4a2713aSLionel Sambuc // MS-NOT: test3.h 14f4a2713aSLionel Sambuc // MS: Note: including file: {{.*test.h}} 15f4a2713aSLionel Sambuc // MS: Note: including file: {{.*test2.h}} 16f4a2713aSLionel Sambuc // MS-NOT: Note 17f4a2713aSLionel Sambuc 18f4a2713aSLionel Sambuc #include "Inputs/test.h" 19