In a solid AB having the NaCl structure