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