The attached change fixes the fails noted in PR 68730.  Okay for trunk?

Dave
--
John David Anglin       dave.ang...@bell.net


2016-02-18  John David Anglin  <dang...@gcc.gnu.org>

        PR libstdc++/68739
        testsuite/util/testsuite_common_types.h: Adjust template type.

Index: testsuite/util/testsuite_common_types.h
===================================================================
--- testsuite/util/testsuite_common_types.h     (revision 245405)
+++ testsuite/util/testsuite_common_types.h     (working copy)
@@ -700,7 +700,7 @@
       struct _Concept<_Tp, true>
       {
        void __constraint()
-       { constexpr _Tp __obj; }
+       { static _Tp __obj; }
       };
 
     // Non-literal type, declare local static and verify no

Reply via email to