1 // Copyright 2017 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.
9 typedef void issue20129Void;
10 issue20129Void issue20129Foo() {
13 typedef issue20129Void issue20129Void2;
14 issue20129Void2 issue20129Bar() {
21 func test20129(t
*testing
.T
) {
22 if C
.issue20129
!= 0 {
23 t
.Fatal("test is broken")
26 if C
.issue20129
!= 1 {
27 t
.Errorf("got %v but expected %v", C
.issue20129
, 1)
30 if C
.issue20129
!= 2 {
31 t
.Errorf("got %v but expected %v", C
.issue20129
, 2)