summaryrefslogtreecommitdiffstats
path: root/test/Driver/Xlinker-args.c
blob: b009bffd5942809ce19bfd7e8dedf8a994a0ab3c (plain)
1
2
3
4
5
6
7
8
9
// Check that we extract --no-demangle from '-Xlinker' and '-Wl,', since that
// was a collect2 argument.

// RUN: %clang -ccc-host-triple 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"
OpenPOWER on IntegriCloud