Cut 600 g pumpkin into cubes about 1 x 1 cm. Cut 1 clove of garlic into small pieces. Heat 4 tablespoons of olive oil in a saucepan and let the garlic take on color. Add the pumpkin cubes and fry for about 5 minutes, stirring occasionally.
Deglaze with 0.1 l of white wine, add the sprig of rosemary, season with salt and pepper and cook covered for 10 minutes. If there is too much liquid, let it boil openly.