blob: 24866a63b1fd9a333889c467e239c01e7d975c9e [file] [log] [blame]
Bill Wendlingc0938f32012-03-12 22:10:06 +00001// RUN: env LIBRARY_PATH=%T/test1 %clang -x c %s -### 2>&1 | FileCheck %s
Chad Rosier616e8a52012-10-30 21:42:09 +00002// CHECK: "-L{{.*}}/test1"
NAKAMURA Takumie2355252012-03-16 05:31:24 +00003
4// GCC driver is used as linker on cygming. It should be aware of LIBRARY_PATH.
NAKAMURA Takumic174b4d2012-12-11 07:23:52 +00005// XFAIL: win32
NAKAMURA Takumi556d7132012-12-11 07:06:09 +00006// REQUIRES: clang-driver
Richard Barton5828d7b2013-12-17 11:11:25 +00007// REQUIRES: native
Bob Wilson9e6e0752014-07-29 20:17:52 +00008
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