1
0
mirror of https://github.com/golang/go synced 2024-11-23 13:50:06 -07:00
go/test/fixedbugs/issue5755.dir/main.go
Rémy Oudompheng c1fc8d5296 cmd/gc: fix missing export data for inlining in a few other cases.
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
2013-06-28 23:29:13 +02:00

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)
}