blob: aa3e3971fd1b7c6d51cf2cfc90ad4455692b2e22 [file] [log] [blame]
Daniel Dunbarf7c16d92010-08-24 22:44:13 +00001// RUN: %clang_cc1 -include Inputs/test3.h -E -H -o %t.out %s 2> %t.err
2// RUN: FileCheck < %t.err %s
3
4// CHECK-NOT: test3.h
5// CHECK: . {{.*test.h}}
6// CHECK: .. {{.*test2.h}}
7
Hans Wennborg708002e2013-08-09 00:32:23 +00008// RUN: %clang_cc1 -include Inputs/test3.h -E --show-includes -o %t.out %s 2> %t.err
9// RUN: FileCheck --check-prefix=MS < %t.err %s
10// 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"