llvm/clang/test/Driver/print-target-triple.c

// Test that -print-target-triple prints correct triple.

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