Text file src/cmd/cgo/internal/test/issue4339.c

     1  // Copyright 2013 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  #include <stdio.h>
     6  #include "issue4339.h"
     7  
     8  static void
     9  impl(void)
    10  {
    11  	//printf("impl\n");
    12  }
    13  
    14  Issue4339 exported4339 = {"bar", impl};
    15  
    16  void
    17  handle4339(Issue4339 *x)
    18  {
    19  	//printf("handle\n");
    20  	x->bar();
    21  	//printf("done\n");
    22  }
    23  

View as plain text