From patchwork Wed Sep 8 21:38:05 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [gccgo] Small testsuite update Date: Wed, 08 Sep 2010 11:38:05 -0000 From: Ian Taylor X-Patchwork-Id: 64230 Message-Id: To: gcc-patches@gcc.gnu.org, gofrontend-dev@googlegroups.com This patch updates the testsuite for the last patch for parenthesized types. This copies the current version of the test from the master testsuite. Committed to gccgo branch. Ian Index: test/parentype.go =================================================================== --- test/parentype.go (revision 164029) +++ test/parentype.go (working copy) @@ -9,11 +9,9 @@ package main func f(interface{}) func g() {} func main() { - f(map[string]string{"a":"b","c":"d"}); - f([...]int{1,2,3}); - f(([...]int){1,2,3}); - f((map[string]string){"a":"b","c":"d"}); - f((map[string]func()){"a":g,"c":g}); - f(make(chan(<-chan int))); - f(make(chan<-(chan int))); + f(map[string]string{"a":"b","c":"d"}) + f([...]int{1,2,3}) + f(map[string]func(){"a":g,"c":g}) + f(make(chan(<-chan int))) + f(make(chan<-(chan int))) }