FreeBSD 10 ships with only libc++, make sure it's the default when compiling

c++ code.

llvm-svn: 194332
This commit is contained in:
David Chisnall 2013-11-09 15:03:56 +00:00
parent e87f5701bb
commit a1f49c7f37
1 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,6 @@
// RUN: %clangxx %s -### -o %t.o -target amd64-unknown-freebsd10.0 2>&1 \
// RUN: | FileCheck --check-prefix=CHECK-TEN %s
// RUN: %clangxx %s -### -o %t.o -target amd64-unknown-freebsd9.2 2>&1 \
// RUN: | FileCheck --check-prefix=CHECK-NINE %s
// CHECK-TEN: -lc++
// CHECK-NINE: -lstdc++