1) Smash the garlic clove, sprinkle with a pinch of the salt, and, with the flat side of a large knife, mash and smear the mixture to a coarse paste.
2) Whisk the garlic paste, lime juice, salt and chilli powder together in a bowl. Gradually whisk in the olive oil, starting with a few drops and then adding the rest in a steady stream.
3) For the salad, cook the corn, capsicum, and onions in the olive oil until beginning to brown over medium-high heat in a skillet. Toss in the black beans and cook until warm. Add the dressing and toss to coat evenly. Adjust seasoning with salt and pepper.
4) Remove from the heat and gently fold in the tomatoes, avocado, and coriander. Serve.