summaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/20_util/shared_ptr/cons/auto_ptr_neg.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/testsuite/20_util/shared_ptr/cons/auto_ptr_neg.cc')
-rw-r--r--libstdc++-v3/testsuite/20_util/shared_ptr/cons/auto_ptr_neg.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/cons/auto_ptr_neg.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/cons/auto_ptr_neg.cc
index 3a33e6ca3c1..19bb8e7e27b 100644
--- a/libstdc++-v3/testsuite/20_util/shared_ptr/cons/auto_ptr_neg.cc
+++ b/libstdc++-v3/testsuite/20_util/shared_ptr/cons/auto_ptr_neg.cc
@@ -1,6 +1,7 @@
// { dg-options "-Wno-deprecated" }
// { dg-add-options using-deprecated }
// { dg-do compile { target c++11 } }
+// { dg-require-effective-target hosted }
// Copyright (C) 2005-2022 Free Software Foundation, Inc.
//