test name type error, like error: ‘...’ does not name a type