blob: e753f5170f2fa57a6d81958b3a79b1d726b98854 [file] [log] [blame]
// PR c++/51587
namespace N
{
struct X; // { dg-message "previous declaration" }
}
enum N::X {}; // { dg-error "conflicting declaration" }