[analyzer] c++11: do not crash on namespace alias

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157089 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Analysis/cxx11-crashes.cpp b/test/Analysis/cxx11-crashes.cpp
index 9164850..6e60ac6 100644
--- a/test/Analysis/cxx11-crashes.cpp
+++ b/test/Analysis/cxx11-crashes.cpp
@@ -10,3 +10,24 @@
   fit0 = limitedFit ();
   return fit0;
 }
+
+// radar://11487541, NamespaceAlias
+namespace boost {namespace filesystem3 {
+class path {
+public:
+ path(){}
+};
+
+}}
+namespace boost
+{
+  namespace filesystem
+  {
+    using filesystem3::path;
+  }
+}
+
+void radar11487541() {
+  namespace fs = boost::filesystem;
+  fs::path p;
+}