summaryrefslogtreecommitdiffstats
path: root/misc/cgo/test/issue8148.c
blob: 927b4346cbe03df4339c3a342629921bf1dc4b6c (plain)
1
2
3
4
5
6
7
8
9
10
11
// 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.

#include "_cgo_export.h"

int get8148(void) {
	T t;
	t.i = 42;
	return issue8148Callback(&t);
}