2012-03-13 06:10:06 +08:00
|
|
|
// RUN: env LIBRARY_PATH=%T/test1 %clang -x c %s -### 2>&1 | FileCheck %s
|
2012-10-31 05:42:09 +08:00
|
|
|
// CHECK: "-L{{.*}}/test1"
|
2012-03-16 13:31:24 +08:00
|
|
|
|
|
|
|
// GCC driver is used as linker on cygming. It should be aware of LIBRARY_PATH.
|
2012-12-11 15:23:52 +08:00
|
|
|
// XFAIL: win32
|
2012-12-11 15:06:09 +08:00
|
|
|
// REQUIRES: clang-driver
|
2013-12-17 19:11:25 +08:00
|
|
|
// REQUIRES: native
|
2014-07-30 04:17:52 +08:00
|
|
|
|
|
|
|
// Make sure that LIBRARY_PATH works for both i386 and x86_64 on Darwin.
|
|
|
|
// RUN: env LIBRARY_PATH=%T/test1 %clang -target x86_64-apple-darwin %s -### 2>&1 | FileCheck %s
|
|
|
|
// RUN: env LIBRARY_PATH=%T/test1 %clang -target i386-apple-darwin %s -### 2>&1 | FileCheck %s
|