Debian Codegraph @

test/fixedbugs/issue42753.go

raw
1 // compile -d=ssa/check/on
2
3 // Copyright 2020 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
9 func f() uint32 {
10 s := "\x01"
11 x := -int32(s[0])
12 return uint32(x) & 0x7fffffff
13 }