teak-llvm/clang/test/Driver/print-target-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
201 B
C

// Test that -print-target-triple prints correct triple.
// RUN: %clang -print-target-triple 2>&1 \
// RUN: --target=x86_64-linux-gnu \
// RUN: | FileCheck %s
// CHECK: x86_64-unknown-linux-gnu