[testsuite] skip test on non-hosted libstdc++ [PR113994]

Tests that include <string> need to be skipped when libstdc++ is built
in freestanding mode.


for  gcc/testsuite/ChangeLog

	PR rtl-optimization/113994
	* g++.dg/torture/pr113994.C: Require hosted libstdc++.
This commit is contained in:
Alexandre Oliva 2025-01-16 20:19:38 -03:00 committed by Alexandre Oliva
parent 4fc3bf9fe2
commit def933af3c

View file

@ -1,5 +1,6 @@
// PR rtl-optimization/113994
// { dg-do run }
// { dg-skip-if "requires hosted libstdc++ for string" { ! hostedlib } }
#include <string>