1 // Check that we don't try to forward -Xclang or -mlinker-version to GCC.
3 // RUN: %clang -ccc-host-triple powerpc-unknown-unknown \
4 // RUN: -ccc-clang-archs i386 -c %s \
5 // RUN: -Xclang foo-bar \
6 // RUN: -mlinker-version=10 -### 2> %t
7 // RUN: FileCheck < %t %s
10 // CHECK-NOT: "-mlinker-version=10"
11 // CHECK-NOT: "-Xclang"
12 // CHECK-NOT: "foo-bar"