]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/26_numerics/headers/cstdlib/dr2192_neg.cc
libstdc++: Disable hosted-only tests [PR103626]
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 26_numerics / headers / cstdlib / dr2192_neg.cc
index 02f234ad8f417499bdab3bd830210259998170da..e705862067120f94bdfe9ee5f70583e0b1b78671 100644 (file)
@@ -17,6 +17,9 @@
 
 // { dg-do compile { target c++11 } }
 
+// Math-related cstdlib bits are not freestanding.
+// { dg-require-effective-target hosted }
+
 // NB: Don't include any other headers in this file.
 // LWG 2192 requires abs to be ill-formed for unsigned arguments.
 #include <cstdlib>