2010-06-15 05:23:12 +08:00
|
|
|
// Check that we extract --no-demangle from '-Xlinker' and '-Wl,', since that
|
|
|
|
// was a collect2 argument.
|
|
|
|
|
2010-06-15 16:21:35 +08:00
|
|
|
// RUN: %clang -ccc-host-triple i386-apple-darwin9 -### \
|
2010-06-15 05:23:12 +08:00
|
|
|
// RUN: -Xlinker one -Xlinker --no-demangle \
|
|
|
|
// RUN: -Wl,two,--no-demangle,three -Xlinker four %s 2> %t
|
|
|
|
// RUN: FileCheck < %t %s
|
|
|
|
//
|
|
|
|
// CHECK: "one" "two" "three" "four"
|