blob: 0c64ffeebf85b80c282ed0a5c0223b71219f8541 [file] [log] [blame]
Russ Coxdbe2eac2013-10-18 16:52:44 -04001// 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.
4
5package main
6
7import "C"
8
9func main() {
10 s := ""
11 _ = s
12 C.malloc(s) // ERROR HERE
13}