[libstdc++] [testsuite] intro/names.cc: undef func on vxw7krn
authorAlexandre Oliva <oliva@adacore.com>
Wed, 22 Feb 2023 17:35:13 +0000 (14:35 -0300)
committerAlexandre Oliva <oliva@gnu.org>
Wed, 22 Feb 2023 17:35:13 +0000 (14:35 -0300)
commit937692f20d44e41b340b54cb0e0006f5cabd070c
treea711329faa9c4443e1c4ee3fa8da4b835d9df1af
parentaee5ee35602e0098c2ae16fa2fc9c8845caf92ed
[libstdc++] [testsuite] intro/names.cc: undef func on vxw7krn

The '#define func' added in 2021, to test that system headers don't
violate the user namespace, exposes such a bug in the vxworks sysLib.h
header, so add yet another such annotated workaround.

for  libstdc++-v3/ChangeLog

* testsuite/17_intro/names.cc: Undef func on vxworks >= 7 in
kernel mode.
libstdc++-v3/testsuite/17_intro/names.cc