issue8478.go 352 B

1234567891011121314151617181920
  1. // Copyright 2014 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. // +build ignore
  6. package main
  7. // Issue 8478. Test that void* is consistently mapped to *byte.
  8. /*
  9. typedef struct {
  10. void *p;
  11. void **q;
  12. void ***r;
  13. } s;
  14. */
  15. import "C"
  16. type Issue8478 C.s