Rory McIlroy didn't make it to Rio de Janeiro for the Olympics, but ex-girlfriend Caroline Wozniacki did.

So did his countrymate, boxer Paddy Barnes.

When the two ran into each other, Barnes couldn't help but get a selfie and use it to mock the golf star, who is skipping the Olympics over concerns about the Zika virus.

More from FoxSports

Hey @CaroWozniacki I think we make a great couple, what ya think @McIlroyRory pic.twitter.com/Fk2nbMjlRh

— Paddy Barnes (@paddyb_ireland) August 6, 2016

Wozniacki stayed quiet on the subject, but she does share another thing in common with Barnes.

The tennis star was also a flagbearer on Friday night, as she'll be representing Denmark in the women's singles.

Wow!! That was incredible!! Such an honor to be the flag bearer for Denmark!! Once in a lifetime! #memories pic.twitter.com/Hzkrey2A8b

— Caroline Wozniacki (@CaroWozniacki) August 6, 2016