issue42495.go 366 B

123456789101112131415
  1. // Copyright 2020 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. package cgotest
  5. // typedef struct { } T42495A;
  6. // typedef struct { int x[0]; } T42495B;
  7. import "C"
  8. //export Issue42495A
  9. func Issue42495A(C.T42495A) {}
  10. //export Issue42495B
  11. func Issue42495B(C.T42495B) {}