Files
linux-kernel-module-cheat/baremetal/add.c
Ciro Santilli 六四事件 法轮功 e0dbe2416d gdb: create some automated tests with pytest
gem5 baremetal: use m5exit m5op in exit() so as to not force users to
apply a patch for almost all examples
2018-11-09 09:33:44 +00:00

14 lines
185 B
C

#include <common.h>
void main(void) {
int i, j, k;
i = 1;
/* test-gdb-op1 */
j = 2;
/* test-gdb-op2 */
k = i + j;
/* test-gdb-result */
if (k != 3)
assert_fail();
}