That depends. Larger corporations tend to avoid asking things other than "Did John Doe work here as title Z from date X to date Y?" However, many smaller companies aren't legally savvy and will divulge too much information, if the other side asks questions they probably shouldn't be.