Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
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" }