dr781.cc: Add test variable.
authorPaolo Carlini <paolo.carlini@oracle.com>
Thu, 22 May 2008 11:54:41 +0000 (11:54 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Thu, 22 May 2008 11:54:41 +0000 (11:54 +0000)
2008-05-22  Paolo Carlini  <paolo.carlini@oracle.com>

* testsuite/26_numerics/complex/dr781.cc: Add test variable.

From-SVN: r135758

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/26_numerics/complex/dr781.cc

index 3b689a41f9ce69e2d1b919ca7d72030ca3a7849e..ee010df771435bc4f01c4ef976cafb8970d97a85 100644 (file)
@@ -1,3 +1,7 @@
+2008-05-22  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       * testsuite/26_numerics/complex/dr781.cc: Add test variable.
+
 2008-05-22  Paolo Carlini  <paolo.carlini@oracle.com>
 
        * include/std/complex (proj(const std::complex<>&), proj(_Tp)):
index b93422a8ae65aa4adea5c245534cf9e7c406f309..68b79278999690f3f2197b8e2932af73c62c6432 100644 (file)
@@ -26,6 +26,7 @@
 // DR 781. std::complex should add missing C99 functions.
 void test01()
 {
+  bool test __attribute__((unused)) = true;
   using __gnu_test::check_ret_type;
 
   typedef std::complex<float>       cmplx_f_type;