add pointer size test

add pointer size test code.

Signed-off-by: Lindell Xu <lxu@vetronicsltd.com.cn>