mirror of
https://github.com/GnoConsortium/gno.git
synced 2025-02-24 22:29:12 +00:00
initial checkin
This commit is contained in:
parent
39aff4d07f
commit
5d0fd14e43
18
lib/libc/tests/stdlib/assert.c
Normal file
18
lib/libc/tests/stdlib/assert.c
Normal file
@ -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 <assert.h>
|
||||
|
||||
int
|
||||
main(int argc, char **argv) {
|
||||
int i = 1;
|
||||
|
||||
assert(i == 0);
|
||||
return 1;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user