llvm-project/clang/test/Driver/print-effective-triple.c
Petr Hosek bc86a99f78 [Driver] -print-target-triple and -print-effective-triple options
These can be used to print Clang target and effective triple.

Differential Revision: https://reviews.llvm.org/D50755

llvm-svn: 339834
2018-08-16 00:22:03 +00:00

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