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