diff options
author | David Chisnall <csdavec@swan.ac.uk> | 2012-07-15 21:18:01 +0000 |
---|---|---|
committer | David Chisnall <csdavec@swan.ac.uk> | 2012-07-15 21:18:01 +0000 |
commit | e091e9549549f1b4376a27f4c5581388214cd3af (patch) | |
tree | c8dc4f0a9871217b4a4fa04df9cbe0adbf631188 /test/Driver/freebsd.c | |
parent | ff2fcb8db242a54f72bbb4e5595261e12672ed66 (diff) | |
download | clang-e091e9549549f1b4376a27f4c5581388214cd3af.tar.gz clang-e091e9549549f1b4376a27f4c5581388214cd3af.tar.bz2 clang-e091e9549549f1b4376a27f4c5581388214cd3af.tar.xz |
Add test case for tweaks to clang driver.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160236 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Driver/freebsd.c')
-rw-r--r-- | test/Driver/freebsd.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/Driver/freebsd.c b/test/Driver/freebsd.c index 1fb84a02ac..69da7c9b5e 100644 --- a/test/Driver/freebsd.c +++ b/test/Driver/freebsd.c @@ -28,3 +28,11 @@ // RUN: --sysroot=%S/Inputs/multiarch_freebsd64_tree -print-search-dirs 2>&1 \ // RUN: | FileCheck --check-prefix=CHECK-LIB32PATHS %s // CHECK-LIB32PATHS: libraries: ={{.*:?}}/usr/lib32 +// +// Check that the new linker flags are passed to FreeBSD +// RUN: %clang -no-canonical-prefixes -target x86_64-pc-freebsd8 -m32 %s \ +// RUN: --sysroot=%S/Inputs/multiarch_freebsd64_tree -### 2>&1 \ +// RUN: | FileCheck --check-prefix=CHECK-LDFLAGS %s +// CHECK-LDFLAGS: --hash-style=both +// CHECK-LDFLAGS: --enable-new-dtags + |