|
|
Xinu for VAX
/* test.c - main */
#include <conf.h>
#include <kernel.h>
/*------------------------------------------------------------------------
* main -- current test routines
*------------------------------------------------------------------------
*/
main()
{
int i;
kprintf("Testing integer overflow trap\n");
for (i=0x7ffffffc; i != 0x80000000; i++)
kprintf ("trying %d\n", i);
kprintf("No overflow trap!!!!\n");
}
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.