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 5package main 6 7import ( 8 "reflect" 9 10 "./c" 11) 12 13func 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} 22