Function attributes have index ~0, not 0