test cases for global/static/const auto declarations