Home | History | Annotate | Download | only in test
      1 // Copyright 2014 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 // +build gccgo
      6 
      7 package cgotest
      8 
      9 //typedef void (*PFunc)();
     10 //PFunc success_cb;
     11 import "C"
     12 
     13 //export Test
     14 func Test() {
     15 	_ = C.success_cb
     16 }
     17