What country does? Even the US has laws against libel, hate speech, etc.
[1]: https://en.wikipedia.org/w/index.php?title=Hate_speech&oldid...
Socially, yes, of course there are views that will get you ostracized to some extent. But that's merely the consequence of freedom of association.
The only thing I'm aware of here that I would consider a true infringement of freedom of speech is our obscenity laws. SCOTUS has (sadly) upheld at least some of them.