Committed.

Richard.

2018-10-26  Richard Biener  <rguent...@suse.de>

        PR testsuite/87754
        * g++.dg/lto/odr-1_0.C: Fix pattern.

Index: gcc/testsuite/g++.dg/lto/odr-1_0.C
===================================================================
--- gcc/testsuite/g++.dg/lto/odr-1_0.C  (revision 265516)
+++ gcc/testsuite/g++.dg/lto/odr-1_0.C  (working copy)
@@ -3,6 +3,6 @@
 struct a { // { dg-lto-warning "8: type 'struct a' violates the C\\+\\+ One 
Definition Rule" }
   struct b *ptr; // { dg-lto-message "13: the first difference of 
corresponding definitions is field 'ptr'" }
 };
-void test(struct a *) // { dg-lto-warning "6: warning: 'test' violates the C++ 
One Definition Rule" }
+void test(struct a *) // { dg-lto-warning "6: warning: 'test' violates the 
C\\+\\+ One Definition Rule" }
 {
 }

Reply via email to