1// asmcheck
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 codegen
8
9func f() {
10	ch1 := make(chan int)
11	ch2 := make(chan int)
12	for {
13		// amd64:-`MOVQ\t[$]0, ""..autotmp_3`
14		select {
15		case <-ch1:
16		case <-ch2:
17		default:
18		}
19	}
20}
21