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