summaryrefslogtreecommitdiffstats
path: root/test/Driver/gcc_forward.c
blob: c584a4e8faf5bd2b0098cdb3ba711eb1218e2a27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Check that we don't try to forward -Xclang or -mlinker-version to GCC.
//
// RUN: %clang -ccc-host-triple powerpc-unknown-unknown \
// RUN:   -ccc-clang-archs i386 -c %s \
// RUN:   -Xclang foo-bar \
// RUN:   -mlinker-version=10 -### 2> %t
// RUN: FileCheck < %t %s
//
// CHECK: gcc{{.*}}"
// CHECK-NOT: "-mlinker-version=10"
// CHECK-NOT: "-Xclang"
// CHECK-NOT: "foo-bar"
// CHECK: gcc_forward
OpenPOWER on IntegriCloud