diff options
-rw-r--r-- | gcc/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.jason/scoping15.C | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index e5aebb1..51f8d1f 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2018-02-16 Nathan Sidwell <nathan@acm.org> + + * g++.old-deja/g++.jason/scoping15.C: Fix dg-warning. + 2018-02-16 Vladimir Makarov <vmakarov@redhat.com> PR rtl-optimization/70023 diff --git a/gcc/testsuite/g++.old-deja/g++.jason/scoping15.C b/gcc/testsuite/g++.old-deja/g++.jason/scoping15.C index 69207e9..c677b0d 100644 --- a/gcc/testsuite/g++.old-deja/g++.jason/scoping15.C +++ b/gcc/testsuite/g++.old-deja/g++.jason/scoping15.C @@ -13,7 +13,7 @@ public: class FComplex { public: - friend float imag(const FComplex& a); // { dg-warning "is visible" + friend float imag(const FComplex& a); // { dg-warning "is visible" } }; void @@ -22,4 +22,4 @@ scnrm2(FComplex cx[]) int imag; ::imag( cx[0] ); } -// { dg-warning "ffriend-injection.* is deprecated" "" { target *-*-* } cc1plus: } +// { dg-warning "ffriend-injection.* is deprecated" "cc1plus:" { target *-*-* } 0 } |