Daniel Radcliffe plays a twitching, farting corpse with an erection in Swiss Army Man. Yes, you did read that correctly (Picture: AP)

He might have made box office millions as Harry Potter – but it seems Daniel Radcliffe’s latest big screen role isn’t proving quite so popular

The actor plays a ‘farting corpse’ (yes, you heard correctly) in Swiss Army Man, which has just made its debut at the Sundance Film Festival – and it’s certainly dividing audiences.

So much so in fact, that it prompted a steady stream of walkouts during its first showing at the annual Utah event.

The 96-minute film, directed by music video duo Daniel Kwan and Daniel Scheinert, is described as an ‘absurdist comedy’ – which kicks off with Radcliffe’s dead character being discovered by a castaway (Paul Dano) as his body washes up on a beach.

The latter goes on to befriend the corpse – which continues farting and twitching – as he engages in a series of lengthy ‘conversations’ with it about isolation, masturbation and even the meaning of life.

Oh, and there’s a moment when castaway and corpse kiss. And Radcliffe’s character maintains a permanent erection despite being dead. (are you keeping up?)

Radcliffe and co-star Paul Dano have been busily promoting the bizarre movie at Sundance (Picture: AP)

The actor – who is at Sundance promoting the movie – later said: ‘The chance to play a dead guy in this context was too much fun to pass up.’

We don’t doubt it. But while plenty of people did make an early exit, the film’s certainly attracted plenty of attention:

Can't decide if SWISS ARMY MAN is completely trolling the audience. #sundance