mirror of
https://github.com/llvm/llvm-project.git
synced 2025-05-17 12:36:09 +00:00

These can be used to print Clang target and effective triple. Differential Revision: https://reviews.llvm.org/D50755 llvm-svn: 339834
7 lines
203 B
C
7 lines
203 B
C
// Test that -print-target-triple prints correct triple.
|
|
|
|
// RUN: %clang -print-effective-triple 2>&1 \
|
|
// RUN: --target=thumb-linux-gnu \
|
|
// RUN: | FileCheck %s
|
|
// CHECK: armv4t-unknown-linux-gnu
|