Cameron Diaz flirted with pensioners while filming at a retirement home for her latest movie.

The actress, who is currently dating Justin Timberlake, admits that she loved working alongside older men for In Her Shoes.

"Did any of the older men flirt with me? Of course they did. I flirted with them," Diaz told People magazine. "I love it. I love older men. Oh my God. Totally."

She added, "I can't wait to be that age and hanging out with a bunch of people all day playing golf and going to the beach. We'll be laughing and having a good time, driving golf carts around and getting loopy on our prescription drugs.

"If you're at that age and you're not hooked up to a machine, lying in bed with your loved ones around you asking if you need anything, you're so lucky."