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 one type of sandwich, making it singular in meaning.