Add a test triple to avoid failure under MS ABI.
authorRichard Smith <richard@metafoo.co.uk>
Thu, 12 Mar 2020 23:43:01 +0000 (16:43 -0700)
committerRichard Smith <richard@metafoo.co.uk>
Thu, 12 Mar 2020 23:44:09 +0000 (16:44 -0700)
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

index 66d9658..ac8ce34 100644 (file)
@@ -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();