modernc.org/gc@v1.0.1-0.20240304020402-f0dba7c97c2b/testdata/errchk/test/fixedbugs/issue9608.go (about) 1 // rundir 2 3 // Copyright 2015 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 // Issue 9608: dead code elimination in switch statements. 8 9 // This has to be done as a package rather than as a file, 10 // because run.go runs files with 'go run', which passes the 11 // -complete flag to compiler, causing it to complain about 12 // the intentionally unimplemented function fail. 13 14 package ignored