add behavior test: return undefined pointer from function

This clarifies that it is legal to return an invalid pointer from a
function, provided that such pointer is not dereferenced.

This matches current status quo of the language. Any change to this
should be a proposal that argues for different semantics.

It is also legal in C to return a pointer to a local. The C backend
lowers such thing directly, so the corresponding warning in C must be
disabled (`-Wno-return-stack-address`).
0e47bd16daAndrew Kelley committed on 9/21/2025, 12:49:00 AMparent4d1b15b
2 files changedLine totals unavailable