mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-26 11:41:35 +01:00
Fix some more tabs. Parse the "Simulated exit code not 0!" string in gem5 and exit with the proper status
14 lines
212 B
C
14 lines
212 B
C
#include <common.h>
|
|
|
|
int 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)
|
|
common_assert_fail();
|
|
}
|