Left: | ||
Right: |
OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2014 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. | |
4 | |
5 package cgotest | |
6 | |
7 // Issue 8420. Cgo generated source code does not compile | |
8 // with -Werror=unused-variable. | |
9 | |
10 /* | |
11 #cgo CFLAGS: -Werror=unused-variable | |
12 void test8420() {} | |
13 */ | |
14 import "C" | |
15 | |
16 func issue8420() { | |
17 C.test8420() | |
18 } | |
OLD | NEW |