Merge from mainline (167278:168000).
[official-gcc/graphite-test-results.git] / gcc / testsuite / go.test / test / fixedbugs / bug158.go
blobcdf3195feb3bcaa8022a401e8b846e9d4a858fd6
1 // $G $D/$F.go || echo BUG: should compile
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.
7 package main
9 func main() {
10 x := 0;
12 // this compiles
13 switch x {
14 case 0:
17 // this doesn't but should
18 switch 0 {
19 case 0:
25 bug158.go:14: fatal error: dowidth: unknown type: E-33