Io penso che con quel codice avrà un errore del tipo

int j : redefinition