summaryrefslogtreecommitdiff
path: root/test/parentype.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/parentype.go')
-rw-r--r--test/parentype.go12
1 files changed, 5 insertions, 7 deletions
diff --git a/test/parentype.go b/test/parentype.go
index d5729f820..1872cd0eb 100644
--- a/test/parentype.go
+++ b/test/parentype.go
@@ -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)))
}