os_kernel_lab/labcodes/lab6/user/divzero.c
2013-09-17 22:21:48 +08:00

12 lines
136 B
C

#include <stdio.h>
#include <ulib.h>
int zero;
int
main(void) {
cprintf("value is %d.\n", 1 / zero);
panic("FAIL: T.T\n");
}