From 73e11ddc10f9839e267a72bd5a4153ed5b3eb052 Mon Sep 17 00:00:00 2001 From: Louis Dionne Date: Wed, 10 Oct 2018 17:37:37 +0000 Subject: [PATCH] [clang] Fix failing attribute test on Windows The test added in r344146 was failing because the ABI on Windows is different, and that test includes ABI-specific details. The test now harcodes which ABI to use so we can rely on those details. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@344159 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/SemaCXX/attr-on-explicit-template-instantiation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/SemaCXX/attr-on-explicit-template-instantiation.cpp b/test/SemaCXX/attr-on-explicit-template-instantiation.cpp index d930c17662..ddb9c8e2e4 100644 --- a/test/SemaCXX/attr-on-explicit-template-instantiation.cpp +++ b/test/SemaCXX/attr-on-explicit-template-instantiation.cpp @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s +// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -emit-llvm %s -o - | FileCheck %s // PR39118 // Make sure that attributes are properly applied to explicit template -- 2.40.0