introduce TDF_compare_debug, omit OBJ_TYPE_REF casts with it
[official-gcc.git] / libgo / misc / cgo / test / issue5740.go
blob059e316119d5c1397a79415fc73cb6050d5e33e2
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.
5 package cgotest
7 // int test5740a(void), test5740b(void);
8 import "C"
9 import "testing"
11 func test5740(t *testing.T) {
12 if v := C.test5740a() + C.test5740b(); v != 5 {
13 t.Errorf("expected 5, got %v", v)