Daniel Dunbar | f78925f | 2010-06-14 21:23:12 +0000 | [diff] [blame] | 1 | // Check that we extract --no-demangle from '-Xlinker' and '-Wl,', since that |
2 | // was a collect2 argument. | ||||
3 | |||||
4 | // RUN: %clang --ccc-host-triple i386-apple-darwin9 -### \ | ||||
5 | // RUN: -Xlinker one -Xlinker --no-demangle \ | ||||
6 | // RUN: -Wl,two,--no-demangle,three -Xlinker four %s 2> %t | ||||
7 | // RUN: FileCheck < %t %s | ||||
8 | // | ||||
9 | // CHECK: "one" "two" "three" "four" |