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 considered a singular subject, even though it has a compound structure ("frank and beans"). The entire phrase refers to a single item—the can—making it singular in meaning.