Source file misc/cgo/test/testdata/issue30527.go

     1  // Copyright 2019 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  // Issue 30527: function call rewriting casts untyped
     6  // constants to int because of ":=" usage.
     7  
     8  package cgotest
     9  
    10  import "cgotest/issue30527"
    11  
    12  func issue30527G() {
    13  	issue30527.G(nil)
    14  }
    15  

View as plain text