summaryrefslogtreecommitdiffstats
path: root/src/cmd/covdata/testdata/dep.go
blob: 2127ab24f6acdbbf9a00ad8a7de7122bee449c80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright 2022 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 dep

func Dep1() int {
	return 42
}

func PDep(x int) {
	if x != 1010101 {
		println(x)
	} else {
		panic("bad")
	}
}