function test.foo has 1 usage that is not safe to delete.