Fixing the test case to properly account for GNU attribute locations.