add assert to make sure our assembly works

master
neingeist 11 years ago
parent c46a411792
commit fb429605f3

@ -1,3 +1,4 @@
#include <assert.h>
#include <stdio.h> #include <stdio.h>
int main() { int main() {
@ -10,6 +11,7 @@ int main() {
); );
printf("i = %d\n", i); printf("i = %d\n", i);
assert(i == 23);
return 0; return 0;
} }

Loading…
Cancel
Save