]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
2018-10-26 Richard Biener <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 26 Oct 2018 07:19:07 +0000 (07:19 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 26 Oct 2018 07:19:07 +0000 (07:19 +0000)
PR testsuite/87754
* g++.dg/lto/odr-1_0.C: Fix pattern.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@265518 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/lto/odr-1_0.C

index 082e342f3f918e4e21325ffcab83a0d0d11c8532..73739030993f5e390072f95b7ff2dabd02125bdf 100644 (file)
@@ -1,3 +1,8 @@
+2018-10-26  Richard Biener  <rguenther@suse.de>
+
+       PR testsuite/87754
+       * g++.dg/lto/odr-1_0.C: Fix pattern.
+
 2018-10-26  Richard Biener  <rguenther@suse.de>
 
        PR tree-optimization/87746
index c59f169e4dc5f40a2255548d8ed16a967b3c0f0a..8eabe7b1583032f68cd7d81caf45da75cca4fc11 100644 (file)
@@ -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" }
 {
 }