]> Cypherpunks.ru repositories - gostls13.git/blob - misc/cgo/test/issue9510.go
cmd/compile/internal/pgo: use slices for in/out edges
[gostls13.git] / misc / cgo / test / issue9510.go
1 // Copyright 2015 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 // Test that we can link together two different cgo packages that both
6 // use the same libgcc function.
7
8 package cgotest
9
10 import (
11         "runtime"
12         "testing"
13
14         "misc/cgo/test/issue9510a"
15         "misc/cgo/test/issue9510b"
16 )
17
18 func test9510(t *testing.T) {
19         if runtime.GOARCH == "arm" {
20                 t.Skip("skipping because libgcc may be a Thumb library")
21         }
22         issue9510a.F(1, 1)
23         issue9510b.F(1, 1)
24 }