2013-06-20 17:42:40 +08:00
|
|
|
// RUN: %clang -no-canonical-prefixes --target=unknown-unknown-unknown -c %s \
|
2012-01-30 20:25:35 +08:00
|
|
|
// RUN: -o %t.o -### 2>&1 | FileCheck %s
|
|
|
|
//
|
|
|
|
// Ensure we get a crazy triple here as we asked for one.
|
|
|
|
// CHECK: Target: unknown-unknown-unknown
|
|
|
|
//
|
2013-06-20 17:42:40 +08:00
|
|
|
// Also check that the legacy spelling works.
|
|
|
|
// RUN: %clang -no-canonical-prefixes -target unknown-unknown-unknown -c %s \
|
|
|
|
// RUN: -o %t.o -### 2>&1 | FileCheck %s
|
2015-03-10 21:58:33 +08:00
|
|
|
//
|
|
|
|
// RUN: %clang -no-canonical-prefixes -target=unknown-unknown-unknown -c %s \
|
|
|
|
// RUN: -o %t.o -### 2>&1 | FileCheck %s
|
|
|
|
//
|
|
|
|
// RUN: %clang -no-canonical-prefixes --target unknown-unknown-unknown -c %s \
|
|
|
|
// RUN: -o %t.o -### 2>&1 | FileCheck %s
|