// { dg-do run { target c++11 } }
+// { dg-require-effective-target hosted }
-// Copyright (C) 2005-2016 Free Software Foundation, Inc.
+// Copyright (C) 2005-2023 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
int
test01()
{
- bool test __attribute__((unused)) = true;
-
// test empty shared_ptrs compare equivalent
std::shared_ptr<A> p1;
std::shared_ptr<B> p2;
int
test02()
{
- bool test __attribute__((unused)) = true;
-
std::shared_ptr<A> A_default;
std::shared_ptr<A> A_from_A(new A);