gcc/libstdc++-v3/testsuite/17_intro
Jonathan Wakely 75f948f089 libstdc++: Fix backwards logic in 17_intro/names.cc test [PR 97088]
I meant to undef the names that clash with newlib headers for newlib,
but I only undef'd them for non-newlib targets. This means they still
cause errors for newlib, and aren't tested for other targets.

This fixes the test to check those names for non-newlib targets, and to
undef them to avoid errors for newlib.

libstdc++-v3/ChangeLog:

	PR libstdc++/97088
	* testsuite/17_intro/names.cc: Fix #if condition for names used
	by newlib headers.
2021-06-28 15:15:16 +01:00
..
headers libstdc++: Add explicit -std=gnu++17 option to test 2021-06-14 14:04:45 +01:00
badnames.cc
freestanding.cc
names.cc libstdc++: Fix backwards logic in 17_intro/names.cc test [PR 97088] 2021-06-28 15:15:16 +01:00
shared_with_static_deps.cc
static.cc
tag_type_explicit_ctor.cc
using_namespace_std_exp_neg.cc
using_namespace_std_tr1_neg.cc
using_namespace_std.cc