Sign in
llvm
/
clang
/
39c76de299e55185d374fca5e44e1fbd2bf22749
/
.
/
test
/
Driver
/
nostdlibxx.cpp
blob: 02bd62d96af5a02e0d8a874f12a0dbc639bc1bb6 [
file
] [
log
] [
blame
]
// RUN: %clangxx -target i686-pc-linux-gnu -### -nostdlib++ %s 2> %t
// RUN: FileCheck < %t %s
// We should still have -lm and the C standard libraries, but not -lstdc++.
// CHECK-NOT: -lstdc++
// CHECK-NOT: -lc++
// CHECK: -lm