]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/20_util/ratio/comparisons/comp2.cc
testsuite_hooks.h: Rewrite VERIFY in terms of __builtin_printf and __builtin_abort.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 20_util / ratio / comparisons / comp2.cc
index 5c5412eba1df6a6c90241deba7896fd9cb70fcdb..bed70cbc6a65b4532e6dc79f0e85364e1aa24467 100644 (file)
@@ -26,8 +26,6 @@ static const std::intmax_t M = INTMAX_MAX;
 void
 test01()
 {
-  bool test __attribute__((unused)) = true;
   // No overflow with same denominator
   VERIFY( (std::ratio_less<std::ratio<M - 2, M>,
            std::ratio<M - 1, M>>::value == 1) );