Oh they have, one 76/62 in aft position on the supperstructure.
Well that big cannon serves as;
- Semi-artillery for indirect fires
- Asymetric ASuW engagements (on smaller platforms)
- Partial CIWS and air defence duties with smart or proximity fuzed munitions (or higher rate of fire like SR).
- Also fire control systems like TAKS remarkably increases the accuracy even for the moving targets, combining this with smart fuzes converts these old school guns into an efficient tool.
It is a strategic decision to use AShM's right away, also i highly doubt if any surface platform may approach to another as close as to use these guns, but guided shells have remarkable range. (Vulcano 76mm - 40, 127mm - 80 km with IR - SAL). These values are still a game changer especially in shore bombardment or in land shelling. Also future guided systems like DARDO converts simple shells into imitating missiles, thus making them a multi-purpose gun.
So nowadays these large caliber guns are more of multi-functions tools than being frigate dogfighting - shelling at target.