From ed66ba996917b948257454daa4343cd0bb6e2d8c Mon Sep 17 00:00:00 2001 From: Marek Polacek Date: Wed, 16 Nov 2016 01:14:57 +0000 Subject: [PATCH] * g++.dg/cpp1z/init-statement6.C: Rename a function. From-SVN: r242467 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/g++.dg/cpp1z/init-statement6.C | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 65dac88b2bd..413a9121a34 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2016-11-15 Marek Polacek + + * g++.dg/cpp1z/init-statement6.C: Rename a function. + 2016-11-15 Thomas Koenig PR libgfortran/51119 diff --git a/gcc/testsuite/g++.dg/cpp1z/init-statement6.C b/gcc/testsuite/g++.dg/cpp1z/init-statement6.C index 53b0d31f545..e8e24b53734 100644 --- a/gcc/testsuite/g++.dg/cpp1z/init-statement6.C +++ b/gcc/testsuite/g++.dg/cpp1z/init-statement6.C @@ -7,14 +7,14 @@ std::map m; extern int xread (int *); -extern void publish (int), raise (int); +extern void publish (int), xraise (int); void foo () { if (auto it = m.find (10); it != m.end ()) { std::string s = it->second; } if (char buf[10]; std::fgets(buf, 10, stdin)) { m[0] += buf; } - if (int s; int count = xread (&s)) { publish(count); raise(s); } + if (int s; int count = xread (&s)) { publish(count); xraise(s); } const char *s; if (auto keywords = {"if", "for", "while"}; -- 2.30.2