blob: 644398b1df05896b5201522ab720f4e16bf11fdf [file] [log] [blame]
Test of inlining a function that uses a dot import.
-- go.mod --
module testdata
go 1.12
-- a/a.go --
package a
func A() {}
-- b/b.go --
package b
import . "testdata/a"
func B() { A() }
-- c/c.go --
package c
import "testdata/b"
func _() {
b.B() //@ inline(re"B", result)
}
-- result --
package c
import (
"testdata/a"
)
func _() {
a.A() //@ inline(re"B", result)
}