This currently checks _GLIBCXX_USE_DUAL_ABI which is incorrect, as that
can be true when _GLIBCXX_USE_CXX11_ABI == 0. The correct check would be
_GLIBCXX_USE_CXX11_ABI == 1, but that's made redundant by the cxx11-abi
effective target that the test requires. However, the test will fail if
-fno-inline is used, so check __NO_INLINE__ instead.
* testsuite/23_containers/list/61347.cc: Avoid spurious failure when
-fno-inline added to test flags.
From-SVN: r267582
2019-01-04 Jonathan Wakely <jwakely@redhat.com>
+ * testsuite/23_containers/list/61347.cc: Avoid spurious failure when
+ -fno-inline added to test flags.
+
* testsuite/21_strings/basic_string/requirements/
explicit_instantiation/debug.cc: Remove XFAIL for old ABI.
int main()
{
-#if _GLIBCXX_USE_DUAL_ABI
+#if ! __NO_INLINE__
std::list<short> l;
testm(l);
testc(l);