The sentence that contains a subject that is compound in form but singular in meaning is:
A can of frank and beans is my favorite dinner.
In this sentence, "A can" is the singular subject, while "frank and beans" is compound in form but does not affect the overall singularity of the subject.