#include #include int main ( void ) { int *x = ( int * ) malloc ( sizeof ( int ) ); if ( NULL != x ) //遵循1 { *x = 1; } else { return ( -1 ); } return ( 0 ); }