Source file test/fixedbugs/issue37753.go
1 // run 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 //go:noinline 10 func f(a, b uint) int { 11 return int(a-b) / 8 12 } 13 14 func main() { 15 if x := f(1, 2); x != 0 { 16 panic(x) 17 } 18 } 19