forked from Imagelibrary/rtems
New.
This commit is contained in:
17
testsuites/libtests/POSIX/calloc.c
Normal file
17
testsuites/libtests/POSIX/calloc.c
Normal file
@@ -0,0 +1,17 @@
|
||||
/*
|
||||
* Copyright (c) 2009 by
|
||||
* Ralf Corsépius, Ulm, Germany. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and distribute this software
|
||||
* is freely granted, provided that this notice is preserved.
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
int
|
||||
main (void)
|
||||
{
|
||||
void *foo = calloc (42, 43);
|
||||
|
||||
return (foo != NULL);
|
||||
}
|
||||
Reference in New Issue
Block a user