diff --git a/gcc/testsuite/g++.dg/parse/access10.C b/gcc/testsuite/g++.dg/parse/access10.C index 4142f15b22c9..ebfeea9f4512 100644 --- a/gcc/testsuite/g++.dg/parse/access10.C +++ b/gcc/testsuite/g++.dg/parse/access10.C @@ -8,6 +8,6 @@ template struct A }; // Instead of the bogus error we get 3 separate errors. -// { dg-error "no type" "" { target *-*-* } 5 } -// { dg-error "::" "" { target *-*-* } 5 } -// { dg-error "~" "" { target *-*-* } 5 } +// { dg-error "no type" "" { target *-*-* } 7 } +// { dg-error "::" "" { target *-*-* } 7 } +// { dg-error "~" "" { target *-*-* } 7 }