Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr79369.C
blob: 58116f254ff23d541865c7cd44a0f8c339d3b744 [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
// PR c++/79369 accept late inline of namespace
namespace
X
{}
inline
namespace
X
{}
// { dg-error "must be specified" }
inline
namespace
Y
{}
namespace
Y
{}
// OK
inline
namespace
Y
{}
// also Ok