// Code generated by cmd/cgo; DO NOT EDIT.

//line /home/evie/packages/go/go-1.18-0/go/misc/cgo/test/issue8148.go:1:1
// Copyright 2014 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// Issue 8148.  A typedef of an unnamed struct didn't work when used
// with an exported Go function.  No runtime test; just make sure it
// compiles.

package cgotest

/*
typedef struct { int i; } T;
int get8148(void);
*/
import _ "unsafe"

//export issue8148Callback
func issue8148Callback(t * /*line :18:27*/_Ctype_T /*line :18:30*/)  /*line :18:32*/_Ctype_int /*line :18:37*/ {
	return t.i
}

func Issue8148() int {
	return int(( /*line :23:13*/_Cfunc_get8148 /*line :23:21*/)())
}
