Text file misc/cgo/test/issue4339.c

     1  #include <stdio.h>
     2  #include "issue4339.h"
     3  
     4  static void
     5  impl(void)
     6  {
     7  	//printf("impl\n");
     8  }
     9  
    10  Issue4339 exported4339 = {"bar", impl};
    11  
    12  void
    13  handle4339(Issue4339 *x)
    14  {
    15  	//printf("handle\n");
    16  	x->bar();
    17  	//printf("done\n");
    18  }
    19  

View as plain text