Skip to content

Commit cc7441c

Browse files
committed
add the test-gofork
1 parent 046e70d commit cc7441c

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

test-gofork/test.go

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
package main
2+
import
3+
( "fmt"
4+
)
5+
6+
7+
func main()
8+
{ if false
9+
{ fmt.Println("jack")
10+
fmt.Println("gofork")
11+
} else
12+
{ fmt/
13+
.Println("hello")
14+
fmt.Println("gofork")
15+
}
16+
17+
var a="hello"
18+
19+
{ var b="gofork"
20+
fmt.Println(a, b)
21+
}
22+
}

0 commit comments

Comments
 (0)