A compound having an SSTR5 antagonist action and use of the compound as a medicament are provided. Specifically, a compound represented by the following formula: wherein each symbol is as defined herein, or a salt thereof, a medicament comprising the compound or a salt thereof, and use of the compound or a salt thereof as an agent for the prophylaxis or treatment of diabetes mellitus are provided.La présente invention concerne un composé présentant une action antagoniste du SSTR5 et lutilisation dudit composé comme médicament. Plus particulièrement, linvention concerne un composé représenté par la formule suivante : dans laquelle chaque symbole est tel que défini dans la description, ou un sel associé, un médicament comprenant le composé ou un sel associé, et lutilisation du composé ou dun sel associé comme agent destiné à la prophylaxie ou au traitement du diabète sucré.