1 // Check that -iwithprefix falls into the "after" search list.
4 // RUN: mkdir -p %t.tmps/first %t.tmps/second
5 // RUN: %clang_cc1 -triple x86_64-unknown-unknown \
6 // RUN: -iprefix %t.tmps/ -iwithprefix second \
7 // RUN: -isystem %t.tmps/first -v %s 2> %t.out
8 // RUN: FileCheck %s < %t.out
10 // CHECK: #include <...> search starts here:
11 // CHECK: {{.*}}.tmps/first
12 // CHECK: {{/|\\}}clang{{/|\\}}{{[.0-9]+}}{{/|\\}}include
13 // CHECK: {{.*}}.tmps/second
14 // CHECK-NOT: {{.*}}.tmps