* tree-vect-loop-manip.c (vect_do_peeling): Do not use
[official-gcc.git] / libgo / misc / cgo / test / issue3741.go
blob314038c1fe8be0c306cdbb3f49bf8c345ec8bf79
1 // Copyright 2012 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 import "C"
9 //export exportSliceIn
10 func exportSliceIn(s []byte) bool {
11 return len(s) == cap(s)
14 //export exportSliceOut
15 func exportSliceOut() []byte {
16 return []byte{1}
19 //export exportSliceInOut
20 func exportSliceInOut(s []byte) []byte {
21 return s