]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/Preprocessor/iwithprefix.c
Vendor import of clang release_34 branch r197841 (effectively, 3.4 RC3):
[FreeBSD/FreeBSD.git] / test / Preprocessor / iwithprefix.c
1 // Check that -iwithprefix falls into the "after" search list.
2 //
3 // RUN: rm -rf %t.tmps
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
9
10 // CHECK: #include <...> search starts here:
11 // CHECK: {{.*}}.tmps/first
12 // CHECK: {{/|\\}}lib{{/|\\}}clang{{/|\\}}{{[.0-9]+}}{{/|\\}}include
13 // CHECK: {{.*}}.tmps/second
14 // CHECK-NOT: {{.*}}.tmps
15
16