diff options
Diffstat (limited to 'test/Driver/print-effective-triple.c')
-rw-r--r-- | test/Driver/print-effective-triple.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Driver/print-effective-triple.c b/test/Driver/print-effective-triple.c new file mode 100644 index 000000000000..65b38748d6a3 --- /dev/null +++ b/test/Driver/print-effective-triple.c @@ -0,0 +1,6 @@ +// 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 |