Patchwork [gccgo] Small testsuite update

login
register
mail settings
Submitter Ian Taylor
Date Sept. 8, 2010, 9:38 p.m.
Message ID <mcr39tjhq6a.fsf@google.com>
Download mbox | patch
Permalink /patch/64230/
State New
Headers show

Comments

Ian Taylor - Sept. 8, 2010, 9:38 p.m.
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

Patch

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)))
 }