]> granicus.if.org Git - clang/commitdiff
[clang] Fix failing attribute test on Windows
authorLouis Dionne <ldionne@apple.com>
Wed, 10 Oct 2018 17:37:37 +0000 (17:37 +0000)
committerLouis Dionne <ldionne@apple.com>
Wed, 10 Oct 2018 17:37:37 +0000 (17:37 +0000)
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

index d930c17662e7434b46c021d58e95a70862ab3c6d..ddb9c8e2e4a53ab4276922f6511a8ed41da533cd 100644 (file)
@@ -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