Stephen Hines | ef82254 | 2014-07-21 00:47:37 -0700 | [diff] [blame^] | 1 | // RUN: %clang_cc1 -include Inputs/test3.h -E -H -o %t.out %s 2> %t.stderr |
| 2 | // RUN: FileCheck < %t.stderr %s |
Daniel Dunbar | f7c16d9 | 2010-08-24 22:44:13 +0000 | [diff] [blame] | 3 | |
| 4 | // CHECK-NOT: test3.h |
| 5 | // CHECK: . {{.*test.h}} |
| 6 | // CHECK: .. {{.*test2.h}} |
| 7 | |
Stephen Hines | ef82254 | 2014-07-21 00:47:37 -0700 | [diff] [blame^] | 8 | // 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 Wennborg | 708002e | 2013-08-09 00:32:23 +0000 | [diff] [blame] | 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 Dunbar | f7c16d9 | 2010-08-24 22:44:13 +0000 | [diff] [blame] | 15 | #include "Inputs/test.h" |