diff options
Diffstat (limited to 'gcc/testsuite/g++.dg/cpp1y/var-templ44.C')
-rw-r--r-- | gcc/testsuite/g++.dg/cpp1y/var-templ44.C | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.dg/cpp1y/var-templ44.C b/gcc/testsuite/g++.dg/cpp1y/var-templ44.C index 2fc21a50631..2ef01cf7480 100644 --- a/gcc/testsuite/g++.dg/cpp1y/var-templ44.C +++ b/gcc/testsuite/g++.dg/cpp1y/var-templ44.C @@ -1,5 +1,6 @@ // PR c++/67161 // { dg-do compile { target c++14 } } +// { dg-additional-options "-Wno-return-type" } template <typename _Tp> struct integral_constant { static constexpr _Tp value = 0; |