summaryrefslogtreecommitdiffstats
path: root/misc/cgo/test/issue5740a.c
blob: a6a7d0c96015d998f385814368814c55747fb930 (plain)
1
2
3
4
5
6
7
8
9
// Copyright 2013 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

static int volatile val = 2;

int test5740a() {
	return val;
}