add isSameStruct.cc