view libgo/misc/cgo/test/issue4339.c @ 133:420680fc7707

do normal call in goto codesegment in normal function
author anatofuz
date Sat, 03 Nov 2018 19:49:09 +0900
parents 04ced10e8804
children
line wrap: on
line source

#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");
}