Debian Codegraph @

test/fixedbugs/issue32901.dir/main.go

raw
1 // Copyright 2019 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 "reflect"
9
10 "./c"
11 )
12
13 func main() {
14 x := c.F()
15 p := c.P()
16 t := reflect.PointerTo(reflect.TypeOf(x))
17 tp := reflect.TypeOf(p)
18 if t != tp {
19 panic("FAIL")
20 }
21 }