[gccgo] Small testsuite update

Submitted by Ian Taylor on Sept. 8, 2010, 9:38 p.m.

Details

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

Commit Message

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 hide | download patch | download mbox

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