A sentence that contains a compound subject but conveys a singular meaning could be: "Peanut butter and jelly is my favorite sandwich."
In this sentence, "Peanut butter and jelly" is a compound subject (two items), but it refers to a single type of sandwich as a whole. Thus, it is singular in meaning.