summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver/target.c
blob: c7652ff62c9f9d1fa855fac089c26f8b4ed12b4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// RUN: %clang -no-canonical-prefixes --target=unknown-unknown-unknown -c %s \
// 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
//
// 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
//
// 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
OpenPOWER on IntegriCloud