blob: 966b4af860694931646612d237ba90446b80c9b1 [file] [log] [blame]
Manuel Klimek9af34ae2014-08-12 08:25:57 +00001// RUN: cd %S
Nico Weber25828952014-07-06 03:04:24 +00002// RUN: %clang_cc1 -include Inputs/test3.h -E -H -o %t.out %s 2> %t.stderr
3// RUN: FileCheck < %t.stderr %s
Daniel Dunbard4352752010-08-24 22:44:13 +00004
5// CHECK-NOT: test3.h
6// CHECK: . {{.*test.h}}
7// CHECK: .. {{.*test2.h}}
8
Nico Weber25828952014-07-06 03:04:24 +00009// 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
Hans Wennborg0fd62072013-08-09 00:32:23 +000011// MS-NOT: test3.h
12// MS: Note: including file: {{.*test.h}}
13// MS: Note: including file: {{.*test2.h}}
14// MS-NOT: Note
15
Daniel Dunbard4352752010-08-24 22:44:13 +000016#include "Inputs/test.h"