Fix failing test due to incorrect use of noexcept
authorEric Fiselier <eric@efcs.ca>
Fri, 11 May 2018 00:33:20 +0000 (00:33 +0000)
committerEric Fiselier <eric@efcs.ca>
Fri, 11 May 2018 00:33:20 +0000 (00:33 +0000)
llvm-svn: 332066

libcxx/test/std/utilities/meta/meta.trans/meta.trans.other/result_of11.pass.cpp

index f7fb7cc..2b8cd70 100644 (file)
@@ -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                &>();