blob: e248c76f977675f2cb194d2d261cae21f4cefb35 [file] [log] [blame]
Stephen Hinesef822542014-07-21 00:47:37 -07001// RUN: %clang_cc1 -include Inputs/test3.h -E -H -o %t.out %s 2> %t.stderr
2// RUN: FileCheck < %t.stderr %s
Daniel Dunbarf7c16d92010-08-24 22:44:13 +00003
4// CHECK-NOT: test3.h
5// CHECK: . {{.*test.h}}
6// CHECK: .. {{.*test2.h}}
7
Stephen Hinesef822542014-07-21 00:47:37 -07008// RUN: %clang_cc1 -include Inputs/test3.h -E --show-includes -o %t.out %s > %t.stdout
9// RUN: FileCheck --check-prefix=MS < %t.stdout %s
Hans Wennborg708002e2013-08-09 00:32:23 +000010// MS-NOT: test3.h
11// MS: Note: including file: {{.*test.h}}
12// MS: Note: including file: {{.*test2.h}}
13// MS-NOT: Note
14
Daniel Dunbarf7c16d92010-08-24 22:44:13 +000015#include "Inputs/test.h"