YouCompleteMe/cpp/llvm/tools/clang/test/Driver/Xlinker-args.c
Strahinja Val Markovic 1f51a89d39 Adding more llvm/clang files
These were ignored by git accidentally. We want ALL OF THEM since they all came
in the llvm/clang source distribution.
2012-07-05 17:55:45 -07:00

10 lines
331 B
C

// Check that we extract --no-demangle from '-Xlinker' and '-Wl,', since that
// was a collect2 argument.
// RUN: %clang -target i386-apple-darwin9 -### \
// 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"