Zevachim13: 2
טָמֵא שֶׁאָכַל בֵּין קֹדֶשׁ טָמֵא וּבֵין קֹדֶשׁ טָהוֹר, חַיָּב. רַבִּי יוֹסֵי הַגְּלִילִי אוֹמֵר: טָמֵא שֶׁאָכַל טָהוֹר, חַיָּב; וְטָמֵא שֶׁאָכַל טָמֵא, פָּטוּר — שֶׁלֹּא אָכַל אֶלָּא דָבָר טָמֵא. אָמְרוּ לוֹ: אַף טָמֵא שֶׁאָכַל טָהוֹר, כֵּיוָן שֶׁנָּגַע בּוֹ טִמְּאָהוּ. וְטָהוֹר שֶׁאָכַל טָמֵא, פָּטוּר — שֶׁאֵינוֹ חָיַּב אֶלָּא עַל טֻמְאַת הַגּוּף.
A person contaminated by tumah who ate either holy foods which were tamei or holy foods which were tahor is liable. R’ Yose HaGlili says: [If] one who is tamei ate [that which is] tahor, he is liable; but [if] one who is tamei ate [that which is] tamei, he is not liable — since he has not eaten anything but that which is [already] tamei. They said to him: Even a person who is tamei who ate something which is tahor has rendered it tamei as soon as he touches it. But a person who is tahor who ate [holy food which is] tamei is not liable — for one is liable only for personal tumah.