Source file test/typeparam/issue50552.dir/main.go
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 main 6 7 import ( 8 "./a" 9 "fmt" 10 ) 11 12 func BuildInt() int { 13 return a.BuildInt() 14 } 15 16 func main() { 17 if got, want := BuildInt(), 0; got != want { 18 panic(fmt.Sprintf("got %d, want %d", got, want)) 19 } 20 } 21