summaryrefslogtreecommitdiffstats
path: root/misc/cgo/errors/testdata/err4.go
blob: 8e5f78e987b61d81cefc82b0a350c2613891179d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright 2017 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.

package main

/*
long double x = 0;
*/
import "C"

func main() {
	_ = C.x // ERROR HERE
	_ = C.x
}