brintos

brintos / llvm-project-archived public Read only

0
0
Text · 504 B · 70d2abc Raw
15 lines · c
1// Check that -iwithprefix falls into the "after" search list.2//3// RUN: rm -rf %t.tmps4// RUN: mkdir -p %t.tmps/first %t.tmps/second5// 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.out8// RUN: FileCheck %s < %t.out9 10// CHECK: #include <...> search starts here:11// CHECK: {{.*}}.tmps/first12// CHECK: {{/|\\}}clang{{/|\\}}{{[.0-9]+}}{{/|\\}}include13// CHECK: {{.*}}.tmps/second14// CHECK-NOT: {{.*}}.tmps15