1 // Origin PR c++/51427
2 
3 typedef struct _GMutex GMutex; // { dg-message "previously declared here"}
4 typedef union _GMutex GMutex; // { dg-error "tag used in naming" }
5