Manuel Klimek | 9af34ae | 2014-08-12 08:25:57 +0000 | [diff] [blame^] | 1 | // RUN: cd %S |
Nico Weber | 2582895 | 2014-07-06 03:04:24 +0000 | [diff] [blame] | 2 | // RUN: %clang_cc1 -include Inputs/test3.h -E -H -o %t.out %s 2> %t.stderr |
| 3 | // RUN: FileCheck < %t.stderr %s |
Daniel Dunbar | d435275 | 2010-08-24 22:44:13 +0000 | [diff] [blame] | 4 | |
| 5 | // CHECK-NOT: test3.h |
| 6 | // CHECK: . {{.*test.h}} |
| 7 | // CHECK: .. {{.*test2.h}} |
| 8 | |
Nico Weber | 2582895 | 2014-07-06 03:04:24 +0000 | [diff] [blame] | 9 | // 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 Wennborg | 0fd6207 | 2013-08-09 00:32:23 +0000 | [diff] [blame] | 11 | // MS-NOT: test3.h |
| 12 | // MS: Note: including file: {{.*test.h}} |
| 13 | // MS: Note: including file: {{.*test2.h}} |
| 14 | // MS-NOT: Note |
| 15 | |
Daniel Dunbar | d435275 | 2010-08-24 22:44:13 +0000 | [diff] [blame] | 16 | #include "Inputs/test.h" |