ecm's comment is absolutely right - if I write section .text without the colon it works fine and prints Result: 0. A totally silent "error" until the program is run.
section .text
Result: 0