]> Cypherpunks.ru repositories - gostls13.git/blob - test/func2.go
test: remove semiocolons.
[gostls13.git] / test / func2.go
1 // $G $F.go || echo BUG: should compile
2
3 // Copyright 2009 The Go Authors. All rights reserved.
4 // Use of this source code is governed by a BSD-style
5 // license that can be found in the LICENSE file.
6
7 package main
8 import os "os"
9
10 type t1 int
11 type t2 int
12 type t3 int
13
14 func f1(t1, t2, t3)
15 func f2(t1, t2, t3 bool)
16 func f3(t1, t2, x t3)
17 func f4(t1, *t3)
18 func (x *t1) f5(y []t2) (t1, *t3)
19 func f6() (int, *string)
20 func f7(*t2, t3)
21 func f8(os int) int
22
23 func f9(os int) int {
24         return os
25 }
26 func f10(err os.Error) os.Error {
27         return err
28 }
29 func f11(t1 string) string {
30         return t1
31 }