Neil Patrick Harris certainly knows how to put another celebrity on the spot.

When appearing on talk show The View the former How I Met Your Mother star, 45, dropped a bombshell piece of information from decades ago that took a while to process.

After Whoopi Goldberg, 62, told him he was cute when he was a kid, he announced to the audience that she told him when he was only 15-years-old that she wanted to have sex with him when he was 10 years older.

Rude or funny? Neil Patrick Harris certainly knows how to put another celebrity on the spot. When appearing on talk show The View the former How I Met Your Mother star, 45, dropped a bombshell piece of information

Stunned: After Whoopi Goldberg told him he was cute when he was a kid, he announced to the audience that she told him when he was only 15-years-old that she wanted to have sex with him when he was 10 years older

The audience was so stunned that they became quiet.

It all began when was talking about the twin kids - Harper Grace and Gideon Scott, both seven - he has with 43-year-old semi-retired husband David Burtka.

Goldberg then out of nowhere started to giggle.

She was seated at the end of the table and the move was awkward.

Shocking talk: They had worked together on the 1988 film Clara's Heart

Big age difference: At the time Goldberg was 33-years-old and he was only 15

Snyposis of the film: After her baby daughter dies, Leona Hart (Kathleen Quinlan) goes to Jamaica to mourn. She meets no-nonsense housekeeper Clara (Goldberg) and brings her back to Baltimore to look after her son, David (Harris)

'I'm laughing because I remember you at that age,' said the actress turned host.

They had worked together on the 1988 film Clara's Heart. In the movie, she plays the housekeeper who takes care of Harris.

That is when Harris went for the low blow to embarrass Whoopi.

'You know, I did my first movie ever with Whoopi Goldberg - a movie called Clara's Heart - and we worked together on that,' said the star, who is still recovering from his failed Oscar hosting job in 2015.

He sure looked different then: The star had a fuller face and wore glasses

'And she told me - I was 15, 16 years old - she told me on my last day of shooting that in 10 years time she was going to have sex with me.'

First there was laughter then expressions of shock then quiet.

Goldberg handled the jab like a pro.

'I might've!' said the Ghost star.

His exact words: 'You know, I did my first movie ever with Whoopi Goldberg - a movie called Clara's Heart - and we worked together on that,' said the star, who is still recovering from his failed Oscar hosting job in 2015

'He had many questions as a kid, so I said, "Listen, wait 10 years, and I'll take you through it."

'In those days, you could actually have some fun like that. You can't do that now. People get very upset now.'

'Hey, I was not offended,' Harris piped up, perhaps realizing that his comment put Whoopi in a negative light. 'I'm looking forward to it.'

'Well, if I can find it, you can have it!' Whoopi shot back.