Is this code well-defined/legal?

Printable View