]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/29_atomics/atomic/lwg3220.cc
libstdc++: Disable hosted-only tests [PR103626]
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 29_atomics / atomic / lwg3220.cc
index d2ff6cf9fe3f51b92c8fe6ab0d393b8efc4132ee..ba289e197dca35132e6832fd9f04c969880aa8d1 100644 (file)
@@ -1,4 +1,8 @@
 // { dg-do compile { target c++11 } }
+
+// std::shared_ptr is not freestanding.
+// { dg-require-effective-target hosted }
+
 // DR 3220. P0558 broke conforming C++14 uses of atomic shared_ptr
 
 #include <atomic>