* tree-vect-loop-manip.c (vect_do_peeling): Do not use
[official-gcc.git] / libgo / misc / cgo / test / issue5548_c.c
blob84115266ffd545a07ac2c81042295f1b304022b7
1 // 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.
5 #include "_cgo_export.h"
7 static void clobber_stack() {
8 volatile char a[1024];
9 int i;
10 for(i = 0; i < sizeof a; i++)
11 a[i] = 0xff;
14 static int call_go() {
15 GoString s;
16 s.p = "test";
17 s.n = 4;
18 return issue5548FromC(s, 42);
21 int issue5548_in_c() {
22 clobber_stack();
23 return call_go();