mirror of
https://github.com/boostorg/function.git
synced 2025-07-29 12:27:15 +02:00
Skip test_empty_ref on g++ 7 in C++17 mode due to compiler bug
This commit is contained in:
@ -629,6 +629,17 @@ test_ref()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if BOOST_WORKAROUND(BOOST_GCC, >= 70000 && BOOST_GCC < 80000) && __cplusplus >= 201700
|
||||||
|
|
||||||
|
// https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81311
|
||||||
|
#pragma message("Skipping test_empty_ref on g++ 7 -std=c++17")
|
||||||
|
|
||||||
|
static void test_empty_ref()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
#else
|
||||||
|
|
||||||
static void dummy() {}
|
static void dummy() {}
|
||||||
|
|
||||||
static void test_empty_ref()
|
static void test_empty_ref()
|
||||||
@ -652,6 +663,8 @@ static void test_empty_ref()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
static void test_exception()
|
static void test_exception()
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user