From: Nick Desaulniers Date: Thu, 22 Aug 2019 23:18:46 +0000 (+0000) Subject: [Bugfix] fix r369705 unit test X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9609b146ecb398af369beae57116f14091c3accc;p=clang [Bugfix] fix r369705 unit test Summary: Aliases aren't supported on OSX. Add a GNU target triple. Reported-by: leonardchan Reported-by: erik.pilkington Reviewers: leonardchan, erik.pilkington Reviewed By: leonardchan, erik.pilkington Subscribers: dexonsmith, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D66622 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@369713 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/alias.c b/test/CodeGen/alias.c index 296a707c44..46568ee900 100644 --- a/test/CodeGen/alias.c +++ b/test/CodeGen/alias.c @@ -2,7 +2,7 @@ // RUN: %clang_cc1 -triple i386-pc-linux-gnu -emit-llvm -o - %s | FileCheck -check-prefix=CHECKBASIC %s // RUN: %clang_cc1 -triple armv7a-eabi -mfloat-abi hard -emit-llvm -o - %s | FileCheck -check-prefix=CHECKCC %s // RUN: %clang_cc1 -triple armv7a-eabi -mfloat-abi hard -S -o - %s | FileCheck -check-prefix=CHECKASM %s -// RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck -check-prefix=CHECKGLOBALS %s +// RUN: %clang_cc1 -triple aarch64-linux-gnu -emit-llvm -o - %s | FileCheck -check-prefix=CHECKGLOBALS %s int g0; // CHECKBASIC-DAG: @g0 = common global i32 0