diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-11-25 18:55:14 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-11-25 18:55:14 +0000 |
commit | 51ffb0c9d43b2d3fd210e51ecdd67ba5d1790d70 (patch) | |
tree | b54f10a7404e78f0acec5514b3c70a0c0d13c704 /test/Parser/cxx-template-decl.cpp | |
parent | 5b6d70e2dece713de82612ffbac2f2bc5c367f73 (diff) |
Implement support for default template arguments of function templates.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89874 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Parser/cxx-template-decl.cpp')
-rw-r--r-- | test/Parser/cxx-template-decl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Parser/cxx-template-decl.cpp b/test/Parser/cxx-template-decl.cpp index 2b2d3de504..e6cc462504 100644 --- a/test/Parser/cxx-template-decl.cpp +++ b/test/Parser/cxx-template-decl.cpp @@ -5,7 +5,7 @@ export class foo { }; // expected-error {{expected template}} template x; // expected-error {{C++ requires a type specifier for all declarations}} \ // expected-error {{does not refer}} export template x; // expected-error {{expected '<' after 'template'}} -export template<class T> class x0; // expected-note {{exported templates are unsupported}} +export template<class T> class x0; // expected-warning {{exported templates are unsupported}} template < ; // expected-error {{parse error}} expected-error {{declaration does not declare anything}} template <template X> struct Err1; // expected-error {{expected '<' after 'template'}} \ // expected-error{{extraneous}} |