]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/20_util/unique_ptr/assign/48635.cc
testsuite_hooks.h: Rewrite VERIFY in terms of __builtin_printf and __builtin_abort.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 20_util / unique_ptr / assign / 48635.cc
index 9c1e535314b51728c51f7a0f0eb7b369668cf3aa..935848ccbbf353cf5365670cb41d1676fee0a462 100644 (file)
@@ -29,7 +29,6 @@ struct Deleter
   Deleter&
   operator=(const Deleter&)
   {
-    bool test __attribute__((unused)) = true;
     VERIFY( true );
     return *this;
   }
@@ -37,7 +36,6 @@ struct Deleter
   Deleter&
   operator=(Deleter&&)
   {
-    bool test __attribute__((unused)) = true;
     VERIFY( false );
     return *this;
   }