-// { dg-options "-std=gnu++11" }
+// { dg-do run { target c++11 } }
-// Copyright (C) 2008-2015 Free Software Foundation, Inc.
+// Copyright (C) 2008-2020 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
void
test01()
{
- bool test __attribute__((unused)) = true;
-
std::unique_ptr<A, D> up(new A, D());
{
std::shared_ptr<A> sp(std::move(up));
void
test02()
{
- bool test __attribute__((unused)) = true;
-
D::count = 0;
std::unique_ptr<A, D> up;
{