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.
8 #include "_cgo_export.h"
10 /* Test calling a Go function with multiple return values. */
15 struct multi_return result
= multi();
16 assert(strcmp(result
.r0
, "multi") == 0);
17 assert(result
.r1
== 0);