Chandler Carruth | 274b6f0 | 2013-06-20 09:42:40 +0000 | [diff] [blame] | 1 | // RUN: %clang -no-canonical-prefixes --target=unknown-unknown-unknown -c %s \ |
Chandler Carruth | 4c72785 | 2012-01-30 12:25:35 +0000 | [diff] [blame] | 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 | // |
Chandler Carruth | 274b6f0 | 2013-06-20 09:42:40 +0000 | [diff] [blame] | 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 |