1 // expected: undefined: __moxie_append
2 //
3 // The append builtin used to be renamed to __moxie_append in the universe, so
4 // although `append` read as undefined, the internal name still resolved and
5 // lowered with full append semantics - a hole that compiled and then failed at
6 // link time. Neither name resolves now: there is no append code path in the
7 // compiler to reach.
8 package main
9 10 func main() {
11 xs := []byte{:1}
12 _ = __moxie_append(xs, 'a')
13 }
14