added test to check that lcc didn't make static identifiers global