I don't understand this fixed bug: https://llvm.org/bugs/show_bug.cgi?id=26774
How could foo() had ever printed "X"?
How could foo() had ever printed "X"?
The code itself isn't well-formed because %ptr isn't actually defined anywhere—just pretend that it was. ;)
[0] Technically, LLVM does not have variables (as in, names you can assign to more than once), since it's in SSA form, but I don't know what a better name would be here. :)