err4.go 259 B

123456789101112131415
  1. // Copyright 2017 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. package main
  5. /*
  6. long double x = 0;
  7. */
  8. import "C"
  9. func main() {
  10. _ = C.x // ERROR HERE
  11. _ = C.x
  12. }