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