Add test case for tweaks to clang driver.

llvm-svn: 160236
This commit is contained in:
David Chisnall 2012-07-15 21:18:01 +00:00
parent 3050e07108
commit d5ca836c01
1 changed files with 8 additions and 0 deletions

View File

@ -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