You should be able to tell by the file size of the compiled hex,
Or if it has inline asm you could use org to shove some program code in a location that doesn't exist on the chip.