Emits assembly, but fails with a segfault/invalid pointer error in the process