c++ bridge test