blob: 5d05c5a6d19696771b329c01f05e571fb3819179 [file]
// Copyright 2026 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package main
func f(i int) bool { return i > 1 }
func g() {}
func main() {
switch { // want a statement here, before the cases
case f(1):
g()
case f(2):
g()
}
}