xref: /minix3/external/bsd/llvm/dist/clang/test/Driver/target.c (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
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 check that the legacy spelling works.
8 // RUN: %clang -no-canonical-prefixes -target unknown-unknown-unknown -c %s \
9 // RUN:   -o %t.o -### 2>&1 | FileCheck %s
10