mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-08-18 18:23:00 +08:00
21 lines
363 B
C
21 lines
363 B
C
/*
|
|
* Copyright (c) 2009 by
|
|
* Ralf Corsepius, Ulm, Germany. All rights reserved.
|
|
*
|
|
* Permission to use, copy, modify, and distribute this software
|
|
* is freely granted, provided that this notice is preserved.
|
|
*/
|
|
|
|
#ifdef HAVE_CONFIG_H
|
|
#include "config.h"
|
|
#endif
|
|
|
|
#include <stdlib.h>
|
|
|
|
int main( void )
|
|
{
|
|
void *ptr = malloc( 42 );
|
|
|
|
return ( ptr != NULL );
|
|
}
|