Skip test_empty_ref on g++ 7 in C++17 mode due to compiler bug

This commit is contained in:
Peter Dimov
2017-12-17 02:18:11 +02:00
parent 8defd1ea81
commit eba48932f0

View File

@ -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 test_empty_ref()
@ -652,6 +663,8 @@ static void test_empty_ref()
}
}
#endif
static void test_exception()
{