github.com/cockroachdb/tools@v0.0.0-20230222021103-a6d27438930d/go/analysis/passes/directive/testdata/src/a/p.go (about)

     1  // Copyright 2023 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  // want +1 `//go:debug directive only valid in package main or test`
     6  //go:debug panicnil=1
     7  
     8  package p
     9  
    10  // want +1 `//go:debug directive only valid in package main or test`
    11  //go:debug panicnil=1