Author: Richard Smith Date: 2020-03-12T16:44:09-07:00 New Revision: 461566b0465c57793c70b0daff87f071d9e5906a
URL: https://github.com/llvm/llvm-project/commit/461566b0465c57793c70b0daff87f071d9e5906a DIFF: https://github.com/llvm/llvm-project/commit/461566b0465c57793c70b0daff87f071d9e5906a.diff LOG: 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. Added: Modified: clang/test/CXX/special/class.dtor/p5-0x.cpp Removed: ################################################################################ diff --git a/clang/test/CXX/special/class.dtor/p5-0x.cpp b/clang/test/CXX/special/class.dtor/p5-0x.cpp index 66d965864f2c..ac8ce3466cb5 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(); _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits