[libcxx] r339804 - Mark the at_exit and at_quick_exit tests as unsupported under C++98 an 03, since those calls were introduced in C++11. They're already guarded by an ifdef in the code, so this is a 'belt-and-suspenders' change.

Marshall Clow via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 15 12:27:53 PDT 2018


Author: marshall
Date: Wed Aug 15 12:27:53 2018
New Revision: 339804

URL: http://llvm.org/viewvc/llvm-project?rev=339804&view=rev
Log:
Mark the at_exit and at_quick_exit tests as unsupported under C++98 an 03, since those calls were introduced in C++11.  They're already guarded by an ifdef in the code, so this is a 'belt-and-suspenders' change.

Modified:
    libcxx/trunk/test/std/language.support/support.start.term/quick_exit.pass.cpp
    libcxx/trunk/test/std/language.support/support.start.term/quick_exit_check1.fail.cpp
    libcxx/trunk/test/std/language.support/support.start.term/quick_exit_check2.fail.cpp

Modified: libcxx/trunk/test/std/language.support/support.start.term/quick_exit.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.start.term/quick_exit.pass.cpp?rev=339804&r1=339803&r2=339804&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.start.term/quick_exit.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.start.term/quick_exit.pass.cpp Wed Aug 15 12:27:53 2018
@@ -6,7 +6,7 @@
 // Source Licenses. See LICENSE.TXT for details.
 //
 //===----------------------------------------------------------------------===//
-//
+// UNSUPPORTED: c++98, c++03
 
 // test quick_exit and at_quick_exit
 

Modified: libcxx/trunk/test/std/language.support/support.start.term/quick_exit_check1.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.start.term/quick_exit_check1.fail.cpp?rev=339804&r1=339803&r2=339804&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.start.term/quick_exit_check1.fail.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.start.term/quick_exit_check1.fail.cpp Wed Aug 15 12:27:53 2018
@@ -7,6 +7,7 @@
 //
 //===----------------------------------------------------------------------===//
 //
+// UNSUPPORTED: c++98, c++03
 
 // test that referencing at_quick_exit when _LIBCPP_HAS_QUICK_EXIT is not defined
 // results in a compile error.

Modified: libcxx/trunk/test/std/language.support/support.start.term/quick_exit_check2.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.start.term/quick_exit_check2.fail.cpp?rev=339804&r1=339803&r2=339804&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.start.term/quick_exit_check2.fail.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.start.term/quick_exit_check2.fail.cpp Wed Aug 15 12:27:53 2018
@@ -6,7 +6,7 @@
 // Source Licenses. See LICENSE.TXT for details.
 //
 //===----------------------------------------------------------------------===//
-//
+// UNSUPPORTED: c++98, c++03
 
 // test that referencing quick_exit when _LIBCPP_HAS_QUICK_EXIT is not defined
 // results in a compile error.




More information about the cfe-commits mailing list