diff options
Diffstat (limited to 'gcc/testsuite/g++.dg/other/cv_func.C')
-rw-r--r-- | gcc/testsuite/g++.dg/other/cv_func.C | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/g++.dg/other/cv_func.C b/gcc/testsuite/g++.dg/other/cv_func.C index 6c9ab1bc2f7..4f103824d93 100644 --- a/gcc/testsuite/g++.dg/other/cv_func.C +++ b/gcc/testsuite/g++.dg/other/cv_func.C @@ -4,7 +4,7 @@ typedef int FIC(int) const; typedef int FI(int); FIC f; // { dg-error "qualified" } -// { dg-error "ignoring" "" { target *-*-* } 6 } +// { dg-error "ignoring" "ignoring" { target *-*-* } 6 } struct S { FIC f; // OK @@ -15,7 +15,7 @@ struct S { }; FIC S::*pm = &S::f; const FI S::*pm2 = &S::f; // { dg-error "qualifier" } -// { dg-error "cannot convert" "" { target *-*-* } 17 } +// { dg-error "cannot convert" "cannot convert" { target *-*-* } 17 } const FIC S::*pm3 = &S::f; // { dg-error "qualifier" } int S::f(int) const |