Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
parse
/
enum6.C
blob: e753f5170f2fa57a6d81958b3a79b1d726b98854 [
file
] [
log
] [
blame
]
// PR c++/51587
namespace
N
{
struct
X
;
// { dg-message "previous declaration" }
}
enum
N
::
X
{};
// { dg-error "conflicting declaration" }