Keep track of template arguments when we parse them. Right now, we don't actually do anything with the template arguments, but they'll be used to create template declarations

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@61413 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Parser/cxx-template-decl.cpp b/test/Parser/cxx-template-decl.cpp
index bcf05fc..5381377 100644
--- a/test/Parser/cxx-template-decl.cpp
+++ b/test/Parser/cxx-template-decl.cpp
@@ -3,7 +3,8 @@
 // Errors
 export class foo { };   // expected-error {{expected template}}
 template  x;            // expected-error {{expected '<' after 'template'}}
-export template x;      // expected-error {{expected '<' after 'template'}}
+export template x;      // expected-error {{expected '<' after 'template'}} \
+                        // expected-note {{exported templates are unsupported}}
 template < ;            // expected-error {{parse error}}
 template <template X> ; // expected-error {{expected '<' after 'template'}}
 template <template <typename> > ;       // expected-error {{expected 'class' before '>'}}