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" forms a compound subject within the prepositional phrase. The entire subject is treated as a single unit.