Moroccan authorities say six African migrants were killed as hundreds of people tried to illegally enter a Spanish enclave in North Africa .