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 case, "a can" is the singular subject, and "frank and beans" is the compound part of the subject within the prepositional phrase.