github.com/go-asm/go@v1.21.1-0.20240213172139-40c5ead50c48/cmd/covdata/testdata/dep.go (about)

     1  // Copyright 2022 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  package dep
     6  
     7  func Dep1() int {
     8  	return 42
     9  }
    10  
    11  func PDep(x int) {
    12  	if x != 1010101 {
    13  		println(x)
    14  	} else {
    15  		panic("bad")
    16  	}
    17  }