From 461566b0465c57793c70b0daff87f071d9e5906a Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Thu, 12 Mar 2020 16:43:01 -0700 Subject: [PATCH] Add a test triple to avoid failure under MS ABI. MS ABI has slightly different rules for when destructors are implicitly defined and when the 'delete this' is checked that are out of scope for the intent of this test. --- clang/test/CXX/special/class.dtor/p5-0x.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/test/CXX/special/class.dtor/p5-0x.cpp b/clang/test/CXX/special/class.dtor/p5-0x.cpp index 66d9658..ac8ce34 100644 --- a/clang/test/CXX/special/class.dtor/p5-0x.cpp +++ b/clang/test/CXX/special/class.dtor/p5-0x.cpp @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -verify -std=c++11 %s -Wno-defaulted-function-deleted +// RUN: %clang_cc1 -verify -std=c++11 %s -Wno-defaulted-function-deleted -triple x86_64-linux-gnu struct NonTrivDtor { ~NonTrivDtor(); -- 2.7.4