Nico Weber | 0ee47d9 | 2017-07-25 18:02:57 +0000 | [diff] [blame] | 1 | // RUN: %clangxx -target i686-pc-linux-gnu -### -nostdlib++ %s 2> %t |
2 | // RUN: FileCheck < %t %s | ||||
3 | |||||
4 | // We should still have -lm and the C standard libraries, but not -lstdc++. | ||||
5 | |||||
6 | // CHECK-NOT: -lstdc++ | ||||
7 | // CHECK-NOT: -lc++ | ||||
8 | // CHECK: -lm |