blob: 25c86153fd5dff4efa77447b58d011896cd3e3f2 [file] [log] [blame]
Shenghou Ma9add7292013-09-18 22:27:25 -04001// 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
5package cgotest
6
7// int test5740a(void), test5740b(void);
8import "C"
9import "testing"
10
11func test5740(t *testing.T) {
12 if v := C.test5740a() + C.test5740b(); v != 5 {
13 t.Errorf("expected 5, got %v", v)
14 }
15}