Commit 9b664c58 authored by Rob Pike's avatar Rob Pike

'default' bug in switch statements is fixed

SVN=123411
parent a65cc2a8
......@@ -18,6 +18,10 @@ func Alloc(i int) int {
}
}
func main() {
s := Alloc(7);
}
/*
bug028.go:7: unreachable statements in a switch
*/
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment