diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2013-12-22 00:07:40 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2013-12-22 00:07:40 +0000 |
commit | bfef399519ca9b8a4b4c6b563253bad7e0eeffe0 (patch) | |
tree | df8df0b0067b381eab470a3b8f28d14a552a6340 /test/Preprocessor/iwithprefix.c | |
parent | 6a0372513edbc473b538d2f724efac50405d6fef (diff) |
Diffstat (limited to 'test/Preprocessor/iwithprefix.c')
-rw-r--r-- | test/Preprocessor/iwithprefix.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/test/Preprocessor/iwithprefix.c b/test/Preprocessor/iwithprefix.c index c11f36e94b5a..59935ac1b8b5 100644 --- a/test/Preprocessor/iwithprefix.c +++ b/test/Preprocessor/iwithprefix.c @@ -4,13 +4,12 @@ // RUN: mkdir -p %t.tmps/first %t.tmps/second // RUN: %clang_cc1 -triple x86_64-unknown-unknown \ // RUN: -iprefix %t.tmps/ -iwithprefix second \ -// RUN: -isystem %t.tmps/first -v 2> %t.out -// RUN: cat %t.out -// RUN: FileCheck < %t.out %s +// RUN: -isystem %t.tmps/first -v %s 2> %t.out +// RUN: FileCheck %s < %t.out // CHECK: #include <...> search starts here: // CHECK: {{.*}}.tmps/first -// CHECK: /lib/clang/{{[.0-9]+}}/include +// CHECK: {{/|\\}}lib{{/|\\}}clang{{/|\\}}{{[.0-9]+}}{{/|\\}}include // CHECK: {{.*}}.tmps/second // CHECK-NOT: {{.*}}.tmps |