diff mbox

[gccgo] Small testsuite update

Message ID mcr39tjhq6a.fsf@google.com
State New
Headers show

Commit Message

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

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