From 5d0fd14e435ea03a56dc3f549b325656f50d4d7b Mon Sep 17 00:00:00 2001 From: gdr Date: Sun, 21 Sep 1997 17:46:05 +0000 Subject: [PATCH] initial checkin --- lib/libc/tests/stdlib/assert.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 lib/libc/tests/stdlib/assert.c 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; +}