From: rguenth Date: Fri, 26 Oct 2018 07:19:07 +0000 (+0000) Subject: 2018-10-26 Richard Biener X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d2566ab1fd60a854c392b1d138b8aa72dfa9885b;p=thirdparty%2Fgcc.git 2018-10-26 Richard Biener 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 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 082e342f3f91..73739030993f 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2018-10-26 Richard Biener + + PR testsuite/87754 + * g++.dg/lto/odr-1_0.C: Fix pattern. + 2018-10-26 Richard Biener PR tree-optimization/87746 diff --git a/gcc/testsuite/g++.dg/lto/odr-1_0.C b/gcc/testsuite/g++.dg/lto/odr-1_0.C index c59f169e4dc5..8eabe7b15830 100644 --- a/gcc/testsuite/g++.dg/lto/odr-1_0.C +++ b/gcc/testsuite/g++.dg/lto/odr-1_0.C @@ -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" } { }