From 5b862b6aa7705fdbd893dc5946289631e7b6d662 Mon Sep 17 00:00:00 2001 From: Erich Keane Date: Wed, 29 Apr 2020 14:29:58 -0700 Subject: [PATCH] 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. --- clang/test/SemaCXX/ext-int.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.7.4