![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Heap test
main.cpp
- Committer:
- cosminb
- Date:
- 2012-07-03
- Revision:
- 0:598c0284f4df
File content as of revision 0:598c0284f4df:
#include "mbed.h" #include <rtos.h> Serial serial(USBTX,USBRX); int main() { char* p=(char*)malloc(4000); if (p) { serial.printf("OK\r"); } else { serial.printf("FAIL\r"); } }