Debian Codegraph @

test/typeparam/issue48094.dir/main.go

raw
1 // Copyright 2021 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 "./a"
8
9 func main() {
10 if a.F[int64]() != 8 {
11 panic("bad")
12 }
13 if a.G[int8]() != 1 {
14 panic("bad")
15 }
16 // TODO: enable once 47631 is fixed.
17 //if a.H[int64]() != 8 {
18 // panic("bad")
19 //}
20 }