Commit f7f77b9d by Nathan Sidwell Committed by Nathan Sidwell

[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
parent 5b2b92c5
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
......
......@@ -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 }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment