add assert to make sure our assembly works
This commit is contained in:
parent
c46a411792
commit
fb429605f3
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue