diff options
Diffstat (limited to 'gcc/testsuite/g++.dg/cpp0x/constexpr-array17.C')
-rw-r--r-- | gcc/testsuite/g++.dg/cpp0x/constexpr-array17.C | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.dg/cpp0x/constexpr-array17.C b/gcc/testsuite/g++.dg/cpp0x/constexpr-array17.C index c6afa507f02..f722b25ec3d 100644 --- a/gcc/testsuite/g++.dg/cpp0x/constexpr-array17.C +++ b/gcc/testsuite/g++.dg/cpp0x/constexpr-array17.C @@ -18,6 +18,7 @@ struct D { template <typename _ForwardIterator, typename _Size> static _ForwardIterator __uninit_default_n(_ForwardIterator p1, _Size) { _Construct(p1); + return _ForwardIterator(); } }; template <typename _ForwardIterator, typename _Size> |