Home | History | Annotate | Download | only in Preprocessor
      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 2> %t.out
      8 // RUN: cat %t.out
      9 // RUN: FileCheck < %t.out %s
     10 
     11 // CHECK: #include <...> search starts here:
     12 // CHECK: {{.*}}.tmps/first
     13 // CHECK: /lib/clang/{{[.0-9]+}}/include
     14 // CHECK: {{.*}}.tmps/second
     15 // CHECK-NOT: {{.*}}.tmps
     16 
     17 
     18