Heat oven to 200C/fan 180C/gas 6. Tip the veg and garlic into a roasting tin. Drizzle over the oil, then season and toss together. Roast for 20 mins, add the tomatoes, then roast for a further 10 mins.
Cook the pasta, drain and reserve 4 tbsp of water. Tip pasta, water and basil into the veg and toss. Squeeze over the soft garlic, to serve.