Debian Codegraph @

test/fixedbugs/issue64606.go

raw
1 // build -race
2
3 //go:build race
4
5 // Copyright 2023 The Go Authors. All rights reserved.
6 // Use of this source code is governed by a BSD-style
7 // license that can be found in the LICENSE file.
8
9 package main
10
11 func main() {
12 var o any = uint64(5)
13 switch o.(type) {
14 case int:
15 goto ret
16 case int8:
17 goto ret
18 case int16:
19 goto ret
20 case int32:
21 goto ret
22 case int64:
23 goto ret
24 case float32:
25 goto ret
26 case float64:
27 goto ret
28 default:
29 goto ret
30 }
31 ret:
32 }