diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2012-09-22 15:04:11 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2012-09-22 15:04:11 +0000 |
commit | 6f009b68b9f7aaf280144b0cd81d6a0b23c733a6 (patch) | |
tree | bf3b012bd2d6131d9a7b78d7054ad01c6dbccca1 /test/Driver/clang-translation.c | |
parent | 2ad11cd666f8e80463b5fd155072633f8e1283a4 (diff) | |
download | clang-6f009b68b9f7aaf280144b0cd81d6a0b23c733a6.tar.gz |
Fix pr13749. There is still a lot of code using getArchName that should be
using getArch, but I will try to fix them one at time to add tests.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164460 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Driver/clang-translation.c')
-rw-r--r-- | test/Driver/clang-translation.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Driver/clang-translation.c b/test/Driver/clang-translation.c index 6f30039814..699510faa2 100644 --- a/test/Driver/clang-translation.c +++ b/test/Driver/clang-translation.c @@ -91,3 +91,10 @@ // PPCE5500: "-cc1" // PPCE5500: "-target-cpu" "e5500" +// RUN: %clang -target amd64-unknown-openbsd5.2 -### -S %s 2>&1 | \ +// RUN: FileCheck -check-prefix=AMD64 %s +// AMD64: clang +// AMD64: "-cc1" +// AMD64: "-triple" +// AMD64: "amd64-unknown-openbsd5.2" +// AMD64: "-munwind-tables" |