From patchwork Thu Oct 16 19:36:15 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Lance Taylor X-Patchwork-Id: 400365 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id A67ED1400DD for ; Fri, 17 Oct 2014 06:36:28 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:subject:date:message-id:mime-version:content-type; q=dns; s= default; b=eWRixvoMj8dXMGJ5Ch0AdRc2FwMJPTvoGVOA3bzJdImQFgUS+FRzq BY+sZg+JjZwMjwR9r/kCdfWLSYahHW0FmrA79Sd2V1XUO9jnrbr0K60aTsDKww2e qkt278XV3GsZxNn8GftkulB28BGBkeHED+dhG9newdCDp9jPfZW6oY= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:subject:date:message-id:mime-version:content-type; s= default; bh=eoiSp2hy9tjFEQMYfod4IQSBQyA=; b=L7YFRuGQeoiJBlmsR2Bt C3PhpyXpDTKjpzniwM3QVzKg4O3SpiUl7yE8WzDKGtWOXQJYUNXlWJUlvWMnetkQ ggD60zHi2FUjr/UAFwSzV8shd0JK+lobdcAktFNLBwJCqVyasrNS2yqUEQHXXj2q nquvVQi19DOIZtqBoDEkgWw= Received: (qmail 13253 invoked by alias); 16 Oct 2014 19:36:21 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 13244 invoked by uid 89); 16 Oct 2014 19:36:20 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_LOW, SPF_PASS, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mail-pa0-f44.google.com Received: from mail-pa0-f44.google.com (HELO mail-pa0-f44.google.com) (209.85.220.44) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Thu, 16 Oct 2014 19:36:19 +0000 Received: by mail-pa0-f44.google.com with SMTP id et14so4070550pad.3 for ; Thu, 16 Oct 2014 12:36:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-type; bh=q5YqG+b8D880moOFy5b2lmXb+wIdzsf1fy1AD3Jh66I=; b=AzklRUA+AzOUSJCCMSmwu+1npYpxZzxD+bKxwvFGjdCSk7PZabdvAB3ZHHcStNlpwN y47qgeZ8DA1UxlD+a4V2uF7rJWfj70gNlm8BAJPKZNb/2QMlBo59u7qZ++LevCjEM4i1 Ox/VI2elq3WFZHHPyLkDxl4KEbCmVrW31YxQRoTOx53bjOZojibjgx80QVTOLnw0LtxN puQWy4urJ0wHOSrWdrv/8C+FpUvXSk5O32EdMhXVd96Ih4nu6z6ud/EuynV3mLfxAGQz qFu6+F2fnevtApHYnUl6QsViOm0HV+eUUNCXwPFjtNpF25wllx0z54qVwbtxc8TdIwzZ KuDQ== X-Gm-Message-State: ALoCoQnPjBQCGB47b3WOB7WS/8N5GAGYLax2fU6rC7KZNRN7smoHdOjNHM/44ASLGJsqi88OMsoN X-Received: by 10.68.242.164 with SMTP id wr4mr3535028pbc.148.1413488177600; Thu, 16 Oct 2014 12:36:17 -0700 (PDT) Received: from iant-glaptop.roam.corp.google.com.google.com ([172.26.53.27]) by mx.google.com with ESMTPSA id c6sm10322035pdm.0.2014.10.16.12.36.16 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 16 Oct 2014 12:36:16 -0700 (PDT) From: Ian Lance Taylor To: gcc-patches@gcc.gnu.org, gofrontend-dev@googlegroups.com Subject: Go testsuite patch committed: fix test Date: Thu, 16 Oct 2014 12:36:15 -0700 Message-ID: MIME-Version: 1.0 X-IsSubscribed: yes I forgot to commit this testsuite patch that corresponds to the recent patch for receiver parameters (https://gcc.gnu.org/ml/gcc-patches/2014-10/msg01591.html). Now committed to mainline. Ian Index: test/fixedbugs/bug299.go =================================================================== --- test/fixedbugs/bug299.go (revision 216257) +++ test/fixedbugs/bug299.go (working copy) @@ -21,7 +21,9 @@ type T struct { // legal according to spec func (p T) m() {} -// not legal according to spec -func (p (T)) f() {} // ERROR "parenthesize|expected" -func (p *(T)) g() {} // ERROR "parenthesize|expected" -func (p (*T)) h() {} // ERROR "parenthesize|expected" +// now legal according to spec +func (p (T)) f() {} +func (p *(T)) g() {} +func (p (*T)) h() {} +func (p (*(T))) i() {} +func ((T),) j() {}