Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
parse
/
error16.C
blob: 74db15c21052924034c957116615661e1d5ce181 [
file
] [
log
] [
blame
]
// { dg-options "-fshow-column" }
// PR c++/16964
struct
A
{
struct
B
{};
// { dg-message "10:previous definition of 'struct A::B'" }
};
struct
A
::
B
{};
// { dg-error "11:redefinition of 'struct A::B'" }