From: Erich Keane Date: Wed, 29 Apr 2020 21:29:58 +0000 (-0700) Subject: Fix ext-int Sema test that didn't specify a triple. X-Git-Tag: llvmorg-12-init~7415 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5b862b6aa7705fdbd893dc5946289631e7b6d662;p=platform%2Fupstream%2Fllvm.git Fix ext-int Sema test that didn't specify a triple. I added a limit to make sure that _ExtInt isn't exposed on systems that haven't considered it in their ABI. The ext-int.cpp Sema test didn't have a triple, so on non x86/x86_64 it would fail with this new error. This patch adds said triple to make sure this passes. --- diff --git a/clang/test/SemaCXX/ext-int.cpp b/clang/test/SemaCXX/ext-int.cpp index 6a06280..cf94fd1 100644 --- a/clang/test/SemaCXX/ext-int.cpp +++ b/clang/test/SemaCXX/ext-int.cpp @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -fsyntax-only -verify %s -Wimplicit-int-conversion +// RUN: %clang_cc1 -fsyntax-only -verify %s -Wimplicit-int-conversion -triple x86_64-gnu-linux template struct HasExtInt {