diff options
author | Nathan Sidwell <nathan@acm.org> | 2018-02-16 19:33:18 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2018-02-16 19:33:18 +0000 |
commit | f7f77b9d7e59d2ded296954df1bd43872012e957 (patch) | |
tree | e044c94ac30f4a6720136697247868b9fdbda12b | |
parent | 5b2b92c563b862d369313ec32b2f421cd73d2500 (diff) | |
download | gcc-f7f77b9d7e59d2ded296954df1bd43872012e957.zip gcc-f7f77b9d7e59d2ded296954df1bd43872012e957.tar.gz gcc-f7f77b9d7e59d2ded296954df1bd43872012e957.tar.bz2 |
[C++ PATCH] Deprecate -ffriend-injection
https://gcc.gnu.org/ml/gcc-patches/2018-02/msg01022.html
* g++.old-deja/g++.jason/scoping15.C: Fix dg-warning.
From-SVN: r257756
-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 } |