From c11965508b07cee14109df2533235a3992ff5c8e Mon Sep 17 00:00:00 2001 From: Mike Stump <mrs@gcc.gnu.org> Date: Tue, 5 Jun 2012 03:11:59 +0000 Subject: [PATCH] Fix typo. From-SVN: r188227 --- gcc/testsuite/g++.dg/cpp0x/regress/template-function1.C | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/g++.dg/cpp0x/regress/template-function1.C b/gcc/testsuite/g++.dg/cpp0x/regress/template-function1.C index 66cbd4ba124e..e7094d206e79 100644 --- a/gcc/testsuite/g++.dg/cpp0x/regress/template-function1.C +++ b/gcc/testsuite/g++.dg/cpp0x/regress/template-function1.C @@ -23,7 +23,8 @@ char c1[1]; C<c1, 0> c; template<const char *, int> struct D {}; -template<int N> struct D<__func__, N> {}; // { dg-error "cannot appear|is invalid|is not a valid|function scope|constant expression" } +template<int N> struct D<__func__, N> {}; // { dg-error "(cannot appear|is invalid|is not a valid|function scope|constant expression)" } + // { dg-warning "function scope" "function scope" { target *-*-* } 26 } char d1[1]; D<d1, 0> d; -- GitLab