aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/diagnostic/wrong-tag-1.C
blob: 2cf75f8bd7a4ab23d486a306f25accb0cce2be1e (plain)
1
2
3
4
// Origin PR c++/51427

typedef struct _GMutex GMutex; // { dg-message "previously declared here"}
typedef union _GMutex GMutex; // { dg-error "tag used in naming" }