Is it ok if my small breed dogs eat large breed dog food?

I have a pomeranian, chihuahua, and english mastiff..... I try to feed the smalls dogs small breed food and the mastiff large breed dog food but the smalls ones prefer the mastiffs food. Will anything happen if they continue to chow down on dog food formulated for large dogs?