public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jonathan Wakely <jwakely@redhat.com>
To: libstdc++@gcc.gnu.org, gcc-patches@gcc.gnu.org
Subject: Re: [PATCH] PR libstdc++/69608 Move semantics for strstreambuf
Date: Wed, 02 May 2018 16:27:00 -0000	[thread overview]
Message-ID: <20180502162750.GX20930@redhat.com> (raw)
In-Reply-To: <20180502162535.GA22893@redhat.com>

[-- Attachment #1: Type: text/plain, Size: 229 bytes --]

On 02/05/18 17:25 +0100, Jonathan Wakely wrote:
>+int
>+main()
>+{
>+  test01();
>+  test02();
>+  test03();
>+  test04();
>+  test05();
>+  test05();

After committing this I noticed test05() is run twice. Fixed by this
patch.


[-- Attachment #2: patch.txt --]
[-- Type: text/x-patch, Size: 660 bytes --]

commit 81d3cafc6bd00d44413adca3420f75c52870b1eb
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Wed May 2 17:26:19 2018 +0100

    Remove duplicate function call in test
    
            * testsuite/backward/strstream_move.cc: Remove duplicate function
            call.

diff --git a/libstdc++-v3/testsuite/backward/strstream_move.cc b/libstdc++-v3/testsuite/backward/strstream_move.cc
index 7dfbd337901..dbe789cbc6f 100644
--- a/libstdc++-v3/testsuite/backward/strstream_move.cc
+++ b/libstdc++-v3/testsuite/backward/strstream_move.cc
@@ -235,7 +235,6 @@ main()
   test03();
   test04();
   test05();
-  test05();
   test06();
   test07();
   test08();

      reply	other threads:[~2018-05-02 16:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-02 16:25 Jonathan Wakely
2018-05-02 16:27 ` Jonathan Wakely [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180502162750.GX20930@redhat.com \
    --to=jwakely@redhat.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=libstdc++@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).