2013-01-26 02:08:53 +08:00
|
|
|
// Check that -iwithprefix falls into the "after" search list.
|
|
|
|
//
|
|
|
|
// RUN: rm -rf %t.tmps
|
|
|
|
// RUN: mkdir -p %t.tmps/first %t.tmps/second
|
2013-01-26 02:50:18 +08:00
|
|
|
// RUN: %clang_cc1 -triple x86_64-unknown-unknown \
|
2013-01-26 02:08:53 +08:00
|
|
|
// RUN: -iprefix %t.tmps/ -iwithprefix second \
|
2013-11-05 20:45:43 +08:00
|
|
|
// RUN: -isystem %t.tmps/first -v %s 2> %t.out
|
|
|
|
// RUN: FileCheck %s < %t.out
|
2013-01-26 02:08:53 +08:00
|
|
|
|
|
|
|
// CHECK: #include <...> search starts here:
|
|
|
|
// CHECK: {{.*}}.tmps/first
|
2021-04-01 16:47:56 +08:00
|
|
|
// CHECK: {{/|\\}}clang{{/|\\}}{{[.0-9]+}}{{/|\\}}include
|
2013-01-26 02:08:53 +08:00
|
|
|
// CHECK: {{.*}}.tmps/second
|
|
|
|
// CHECK-NOT: {{.*}}.tmps
|