diff --git a/lib/libc/tests/stdlib/assert.c b/lib/libc/tests/stdlib/assert.c new file mode 100644 index 0000000..e241a52 --- /dev/null +++ b/lib/libc/tests/stdlib/assert.c @@ -0,0 +1,18 @@ +/* + * This (indirectly) tests that raise(3) (through abort(3)) is implemented + * and does not require a backward linking reference. + * + * $Id: assert.c,v 1.1 1997/09/21 17:46:05 gdr Exp $ + * + * Devin Reade, 1997 + */ + +#include + +int +main(int argc, char **argv) { + int i = 1; + + assert(i == 0); + return 1; +}