summaryrefslogtreecommitdiffstats
path: root/misc/cgo/test/gcc68255/c.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/cgo/test/gcc68255/c.c')
-rw-r--r--misc/cgo/test/gcc68255/c.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/misc/cgo/test/gcc68255/c.c b/misc/cgo/test/gcc68255/c.c
new file mode 100644
index 0000000..a4fe193
--- /dev/null
+++ b/misc/cgo/test/gcc68255/c.c
@@ -0,0 +1,8 @@
+// Copyright 2015 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 void f(void) {
+}
+
+void (*v)(void) = f;