mirror of
https://github.com/golang/go
synced 2024-11-08 19:26:14 -07:00
71ed6eb25a
This is not quite what that issue reports, because this does not involve a DLL. But I wanted to make sure this much was working. Update #4339 R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/13653043
19 lines
222 B
C
19 lines
222 B
C
#include <stdio.h>
|
|
#include "issue4339.h"
|
|
|
|
static void
|
|
impl(void)
|
|
{
|
|
//printf("impl\n");
|
|
}
|
|
|
|
Issue4339 exported4339 = {"bar", impl};
|
|
|
|
void
|
|
handle4339(Issue4339 *x)
|
|
{
|
|
//printf("handle\n");
|
|
x->bar();
|
|
//printf("done\n");
|
|
}
|