...

Source file src/cmd/covdata/testdata/dep.go

Documentation: cmd/covdata/testdata

     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  }
    18  

View as plain text