llvm-project/clang/test/Modules/Inputs/cxx-inline-namespace.h
Richard Smith e3a97029da If a name is injected into an imported inline namespace without reopening that
namespace, we need to update both the visible names of that namespace and of
its enclosing namespace set.

llvm-svn: 204570
2014-03-23 20:41:56 +00:00

18 lines
212 B
C++

namespace std {
inline namespace __1 {
namespace __is_function_imp {}
}
}
namespace std {
inline namespace __1 {
typedef int size_t;
}
}
namespace X {
inline namespace Y {
struct Z;
}
}