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 main subject, which is singular, while "frank and beans" acts as a compound within the singular subject.