I do not believe they are code compliant under the IMC or IRC
Table 403.3
Private dwellings, single and multiple
Garages, common for multiple units b
Garages, separate for each dwelling b
Kitchens b
Living areas c
Toilet rooms and bathrooms g
Footnote g
g. Mechanical exhaust is required and recirculation is prohibited except that recirculation shall be permitted where the resulting supply airstream consists of not more than 10 percent air recirculated from these spaces (see Section 403.2.1, Items 2 and 4).
IRC
M1507.2 Recirculation of air.
Exhaust air from bathrooms and toilet rooms shall not be recirculated within a residence or to another dwelling unit and shall be exhausted directly to the outdoors. Exhaust air from bathrooms and toilet rooms shall not discharge into an attic, crawl space or other areas inside the building.