Stub out an error so we don't crash.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@80207 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Sema/SemaDeclCXX.cpp b/lib/Sema/SemaDeclCXX.cpp
index 2f797da..a18dc46 100644
--- a/lib/Sema/SemaDeclCXX.cpp
+++ b/lib/Sema/SemaDeclCXX.cpp
@@ -2103,7 +2103,14 @@
     Name = TargetName;
   else
     Name = Context.DeclarationNames.getCXXOperatorName(Op);
-  
+
+  // FIXME: Implement this properly!
+  if (isUnknownSpecialization(SS)) {
+    Diag(IdentLoc, diag::err_using_dependent_unsupported);
+    delete AttrList;
+    return DeclPtrTy::make((UsingDecl*)0);
+  }
+
   // Lookup target name.
   LookupResult R = LookupParsedName(S, &SS, Name, LookupOrdinaryName, false);