Sign in
llvm
/
clang
/
e8264bb9815647b4c6558aeb045c65965cdb26d3
/
.
/
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