* tree-vect-loop-manip.c (vect_do_peeling): Do not use
[official-gcc.git] / libgo / misc / cgo / test / issue3945.go
blob2f9fe23b8dcc3ff10c9795daff7f1bdef21610b1
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 // Test that cgo reserves enough stack space during cgo call.
8 // See https://golang.org/issue/3945 for details.
10 // #include <stdio.h>
12 // void say() {
13 // printf("%s from C\n", "hello");
14 // }
16 import "C"
18 import "testing"
20 func testPrintf(t *testing.T) {
21 C.say()