blob: 6fde00cbbe5bf5e62750898aede81b1dccd427d2 [file] [log] [blame]
NAKAMURA Takumi70e36462014-08-12 09:31:27 +00001// REQUIRES: shell
2
Manuel Klimek9af34ae2014-08-12 08:25:57 +00003// RUN: cd %S
Nico Weber25828952014-07-06 03:04:24 +00004// RUN: %clang_cc1 -include Inputs/test3.h -E -H -o %t.out %s 2> %t.stderr
5// RUN: FileCheck < %t.stderr %s
Daniel Dunbard4352752010-08-24 22:44:13 +00006
7// CHECK-NOT: test3.h
8// CHECK: . {{.*test.h}}
9// CHECK: .. {{.*test2.h}}
10
Nico Weber25828952014-07-06 03:04:24 +000011// RUN: %clang_cc1 -include Inputs/test3.h -E --show-includes -o %t.out %s > %t.stdout
12// RUN: FileCheck --check-prefix=MS < %t.stdout %s
Hans Wennborg0fd62072013-08-09 00:32:23 +000013// MS-NOT: test3.h
14// MS: Note: including file: {{.*test.h}}
15// MS: Note: including file: {{.*test2.h}}
16// MS-NOT: Note
17
Daniel Dunbard4352752010-08-24 22:44:13 +000018#include "Inputs/test.h"