diff options
Diffstat (limited to 'gcc/testsuite/g++.dg/template/redecl3.C')
-rw-r--r-- | gcc/testsuite/g++.dg/template/redecl3.C | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/g++.dg/template/redecl3.C b/gcc/testsuite/g++.dg/template/redecl3.C index 029f9e69a5f..faa29bf453d 100644 --- a/gcc/testsuite/g++.dg/template/redecl3.C +++ b/gcc/testsuite/g++.dg/template/redecl3.C @@ -3,5 +3,5 @@ // { dg-do compile } -int foo; // { dg-error "previous declaration" } +int foo; // { dg-message "previous declaration" } template<int> void foo() {} // { dg-error "redeclared" } |