Mercurial > ecos-v3_0-branch
comparison packages/services/memalloc/common/current/tests/realloc.c @ 126:518f42066aba ecos-sw-2000-09-19
Merge from eCos master repository on 2000-09-19-06:25:26-BST
| author | jlarmour |
|---|---|
| date | Tue, 19 Sep 2000 05:53:51 +0000 |
| parents | 6ed91473a1cd |
| children | d2f49caf9e38 |
comparison
equal
deleted
inserted
replaced
| 125:b4407dc7f59d | 126:518f42066aba |
|---|---|
| 176 str = (char *)realloc( str, 0 ); | 176 str = (char *)realloc( str, 0 ); |
| 177 CYG_TEST_PASS_FAIL( str == NULL, "realloc doing implicit free again" ); | 177 CYG_TEST_PASS_FAIL( str == NULL, "realloc doing implicit free again" ); |
| 178 | 178 |
| 179 CYG_TEST_FINISH("Finished tests from testcase " __FILE__ " for C library " | 179 CYG_TEST_FINISH("Finished tests from testcase " __FILE__ " for C library " |
| 180 "realloc() function"); | 180 "realloc() function"); |
| 181 | |
| 182 return 0; | |
| 181 } // main() | 183 } // main() |
| 182 | 184 |
| 183 #endif // ifndef NA_MSG | 185 #endif // ifndef NA_MSG |
| 184 | 186 |
| 185 // EOF realloc.c | 187 // EOF realloc.c |
