]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/20_util/shared_ptr/cons/unique_ptr.cc
testsuite_hooks.h: Rewrite VERIFY in terms of __builtin_printf and __builtin_abort.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 20_util / shared_ptr / cons / unique_ptr.cc
index 58335c3a2996ec420bd22bc1d1e336ce5e850c66..18e66162754d7f2a7ff5bcde274992e63d81ecbf 100644 (file)
@@ -30,8 +30,6 @@ struct A { };
 int
 test01()
 {
-  bool test __attribute__((unused)) = true;
-
   std::unique_ptr<A> up(new A);
   std::shared_ptr<A> sp(std::move(up));
   VERIFY( up.get() == 0 );