Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(146)

Side by Side Diff: misc/cgo/test/issue8420.go

Issue 121550043: cmd/cgo: suppress "unused variable" warnings in generat...
Patch Set: diff -r 58026885ac66 https://code.google.com/p/go Created 9 years, 7 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | src/cmd/cgo/out.go » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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 }
OLDNEW
« no previous file with comments | « no previous file | src/cmd/cgo/out.go » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b