[C++ PATCH] Deprecate -ffriend-injection
authorNathan Sidwell <nathan@acm.org>
Fri, 16 Feb 2018 19:33:18 +0000 (19:33 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Fri, 16 Feb 2018 19:33:18 +0000 (19:33 +0000)
https://gcc.gnu.org/ml/gcc-patches/2018-02/msg01022.html
* g++.old-deja/g++.jason/scoping15.C: Fix dg-warning.

From-SVN: r257756

gcc/testsuite/ChangeLog
gcc/testsuite/g++.old-deja/g++.jason/scoping15.C

index e5aebb10baf9591babf82b211ae38832011841bb..51f8d1f1a59e856d871af1aa78b456f65055c8c4 100644 (file)
@@ -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
index 69207e9334b22d1f87ddda9a04cd8d0022d3fdf0..c677b0d36d3eec6eab4d727847fdb1543250c393 100644 (file)
@@ -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 }