-// Copyright (C) 2005-2013 Free Software Foundation, Inc.
+// Copyright (C) 2005-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
// TR1 2.2.2 Template class shared_ptr [tr.util.smartptr.shared]
+// { dg-options "-std=c++98" }
+
#include <tr1/memory>
#include <testsuite_hooks.h>
test01()
{
reset_count_struct __attribute__((unused)) reset;
- bool test __attribute__((unused)) = true;
std::tr1::shared_ptr<A> a(new A);
std::auto_ptr<B> b(new B);
return 0;
}
-int
+int
main()
{
test01();