[libcxx] r332066 - Fix failing test due to incorrect use of noexcept
Eric Fiselier via cfe-commits
cfe-commits at lists.llvm.org
Thu May 10 17:33:20 PDT 2018
Author: ericwf
Date: Thu May 10 17:33:20 2018
New Revision: 332066
URL: http://llvm.org/viewvc/llvm-project?rev=332066&view=rev
Log:
Fix failing test due to incorrect use of noexcept
Modified:
libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.other/result_of11.pass.cpp
Modified: libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.other/result_of11.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.other/result_of11.pass.cpp?rev=332066&r1=332065&r2=332066&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.other/result_of11.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.other/result_of11.pass.cpp Thu May 10 17:33:20 2018
@@ -58,20 +58,6 @@ void test_result_of_imp()
int main()
{
- { // Function types with noexcept
- typedef bool (&RF0)(int) noexcept;
- typedef bool (&RF1)(int, ...) noexcept;
- typedef bool (*PF0)(int) noexcept;
- typedef bool (*PF1)(int, ...) noexcept;
- typedef bool (*&PRF0)(int) noexcept;
- typedef bool (*&PRF1)(int, ...) noexcept;
- test_result_of_imp<RF0(int), bool>();
- test_result_of_imp<PF0(int), bool>();
- test_result_of_imp<PRF0(int), bool>();
- test_result_of_imp<RF1(int, int), bool>();
- test_result_of_imp<PF1(int, int), bool>();
- test_result_of_imp<PRF1(int, int), bool>();
- }
{
typedef char F::*PMD;
test_result_of_imp<PMD(F &), char &>();
More information about the cfe-commits
mailing list