mirror of
https://github.com/golang/go
synced 2024-11-13 20:10:32 -07:00
c1fc8d5296
Exported inlined functions that perform a string conversion using a non-exported named type may miss it in export data. Fixes #5755. R=rsc, golang-dev, ality, r CC=golang-dev https://golang.org/cl/10464043
24 lines
385 B
Go
24 lines
385 B
Go
// Copyright 2013 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
|
|
|
|
import "./a"
|
|
|
|
func main() {
|
|
a.Test1("frumious")
|
|
a.Test2("frumious")
|
|
a.Test3("frumious")
|
|
a.Test4("frumious")
|
|
|
|
a.Test5(nil)
|
|
a.Test6(nil)
|
|
a.Test7(nil)
|
|
a.Test8(nil)
|
|
a.Test9(0)
|
|
|
|
a.TestBar()
|
|
a.IsBaz(nil)
|
|
}
|