Fix failing test due to incorrect use of noexcept
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@332066 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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 &>();
|
||||
|
||||
Reference in New Issue
Block a user