blob: 34d03ba7aa6ea8b4fa1f11fbfc6678dab9c79aef [file] [log] [blame]
-- bar-rename --
package issue43616
type bar int //@rename("foo","bar"),prepare("oo","foo","foo")
var x struct{ bar } //@rename("foo","baz")
var _ = x.bar //@rename("foo","quux")
-- baz-rename --
can't rename embedded fields: rename the type directly or name the field
-- quux-rename --
can't rename embedded fields: rename the type directly or name the field