1 // RUN: env LIBRARY_PATH=%T/test1 %clang -x c %s -### 2>&1 | FileCheck %s 2 // CHECK: "-L{{.*}}/test1" 3 4 // GCC driver is used as linker on cygming. It should be aware of LIBRARY_PATH. 5 // XFAIL: win32 6 // REQUIRES: clang-driver 7 // REQUIRES: native 8 9 // Make sure that LIBRARY_PATH works for both i386 and x86_64 on Darwin. 10 // RUN: env LIBRARY_PATH=%T/test1 %clang -target x86_64-apple-darwin %s -### 2>&1 | FileCheck %s 11 // RUN: env LIBRARY_PATH=%T/test1 %clang -target i386-apple-darwin %s -### 2>&1 | FileCheck %s 12