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
diff --git a/clang/test/Modules/Inputs/cxx-inline-namespace.h b/clang/test/Modules/Inputs/cxx-inline-namespace.h
index 2525ad3..4feb850 100644
--- a/clang/test/Modules/Inputs/cxx-inline-namespace.h
+++ b/clang/test/Modules/Inputs/cxx-inline-namespace.h
@@ -9,3 +9,9 @@
typedef int size_t;
}
}
+
+namespace X {
+ inline namespace Y {
+ struct Z;
+ }
+}