Clang Project

clang_source_code/test/Driver/target.c
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