Home | History | Annotate | Download | only in Driver
      1 // RUN: %clang -no-canonical-prefixes -target unknown-unknown-unknown -c %s \
      2 // RUN:   -o %t.o -### 2>&1 | FileCheck %s
      3 //
      4 // Ensure we get a crazy triple here as we asked for one.
      5 // CHECK: Target: unknown-unknown-unknown
      6 //
      7 // Also, ensure we don't blindly hand our target selection logic down to GCC.
      8 // CHECK: "{{.*gcc(\.[Ee][Xx][Ee])?}}"
      9 // CHECK-NOT: "-target"
     10 // CHECK-NOT: "unknown-unknown-unknown"
     11 // CHECK: "-x" "assembler"
     12