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 the subject, and although it has a compound structure ("frank and beans"), it refers to a single item (a can). Thus, the subject is compound in form but singular in meaning.