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 of frank and beans" is a compound subject (frank and beans) that refers to a single can, making it singular in meaning.