1// compile 2 3// Copyright 2021 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 9func f() { 10 var i, j int 11 var b bool 12 i = -(i &^ i) 13 for 1>>uint(i) == 0 { 14 _ = func() { 15 i, b = 0, true 16 } 17 _ = b 18 i %= j 19 } 20} 21