Wasn't there a movie that portrayed some teenagers laying in the middle of a busy road in order to prove bravery or stupidity or something like that?

In my high school days (early-'80s) a classmate got blotto on Halloween, laid down on a busy set of train tracks and was ground into hamburger by a passing freight. Nobody knows to this day whether he did it on purpose or not. And yes, there were some serious substance abuse issues involved.