OSDN Git Service

2010-11-02 Paolo Carlini <paolo.carlini@oracle.com
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / testsuite / 26_numerics / random / discard_block_engine / requirements / constexpr_functions.cc
index faec5bf..77f4fb5 100644 (file)
@@ -33,8 +33,10 @@ namespace __gnu_test
        {
          void __constraint()
          { 
-           constexpr auto v1(_Ttesttype::min());
-           constexpr auto v2(_Ttesttype::max());
+           constexpr auto v1 __attribute__((unused))
+             = _Ttesttype::min();
+           constexpr auto v2 __attribute__((unused))
+             = _Ttesttype::max();
          }
        };