1 // Check that we don't try to forward -Xclang or -mlinker-version to GCC. 2 // 3 // RUN: %clang -target 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 8 // 9 // CHECK: gcc{{.*}}" 10 // CHECK-NOT: "-mlinker-version=10" 11 // CHECK-NOT: "-Xclang" 12 // CHECK-NOT: "foo-bar" 13 // CHECK: gcc_forward 14