1 2 3 4 5 6 7 8
#include <stdio.h> #include <assert.h> #include <math.h> int main(int argc, char **argv){ assert( sqrt( 42 * 42) == 42 ); assert( sqrt( -1 * -1) == -1 ); return 0; }
1 2 3
t: t.c:7: main: Assertion `sqrt( -1 * -1) == -1' failed. Disallowed system call: SYS_kill