diff options
| author | Douglas Gregor <dgregor@apple.com> | 2009-09-25 18:43:00 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2009-09-25 18:43:00 +0000 |
| commit | 450f0084a27be5222605e659c31b87f61ba87748 (patch) | |
| tree | af565ed55baee26e2ff46de33055cbe3ccda3652 /clang/test/Parser | |
| parent | bea6848f9d329715d6fe0a87d0c887ca020a5cc9 (diff) | |
| download | bcm5719-llvm-450f0084a27be5222605e659c31b87f61ba87748.tar.gz bcm5719-llvm-450f0084a27be5222605e659c31b87f61ba87748.zip | |
WIP implementation of explicit instantiation of function templates,
member functions of class template specializations, and static data
members. The mechanics are (mostly) present, but the semantic analysis
is very weak.
llvm-svn: 82789
Diffstat (limited to 'clang/test/Parser')
| -rw-r--r-- | clang/test/Parser/cxx-template-decl.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/test/Parser/cxx-template-decl.cpp b/clang/test/Parser/cxx-template-decl.cpp index 94b7069afbe..7f1ff3dc316 100644 --- a/clang/test/Parser/cxx-template-decl.cpp +++ b/clang/test/Parser/cxx-template-decl.cpp @@ -2,7 +2,8 @@ // Errors export class foo { }; // expected-error {{expected template}} -template x; // expected-error {{C++ requires a type specifier for all declarations}} +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}} template < ; // expected-error {{parse error}} expected-error {{declaration does not declare anything}} |

