This is a very realistic comparison, I'm not going to throw theoretical figures here. I chose Kodak TMAX 400 because it is the film I am most likely to use. Kodak claims it is their sharpest B&W film. Adox CMS20 is sharper, but I'm not going to shoot ISO 12 film on vacation. The filmcamera used was a Bronica EC-TL with a 80mm f2.8 Carl Zeiss Jena DDR lens @ f8. The digital camera was a Nikon D750 with a 50mm f1.8 AF-D lens @ f4. The film was developed in TMAX Developer (as recommended by Kodak)and scanned with a Epson V850 scanner @ 4800dpi. These are cameras that I normally shoot with. Under a microscope the film resolved higher than the digital but the film's grain makes it look less sharp.
The film image was sized 4x3" from a 34x34" 300dpi scan. The digital was sized 4x3" from a 20x13" 300dpi file. Lenses were placed 26x the focal length making the scale 1:1. The film image was illuminated by a diffused strobe, digital was available light (images taken on separate dates).
I'll always enjoy shooting film, but carry along a DSLR anyway. Draw your own conclusions.