summaryrefslogtreecommitdiffstats
path: root/clang/test/Parser
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-11-25 18:55:14 +0000
committerDouglas Gregor <dgregor@apple.com>2009-11-25 18:55:14 +0000
commit5c80a27ba26431c9f88d80edbbe61c562c5f9950 (patch)
treece2ca684e8296e670efbce658f337fb7513372d4 /clang/test/Parser
parent4cd30817d3739207cca1ef07e4048b122280081a (diff)
downloadbcm5719-llvm-5c80a27ba26431c9f88d80edbbe61c562c5f9950.tar.gz
bcm5719-llvm-5c80a27ba26431c9f88d80edbbe61c562c5f9950.zip
Implement support for default template arguments of function templates.
llvm-svn: 89874
Diffstat (limited to 'clang/test/Parser')
-rw-r--r--clang/test/Parser/cxx-template-decl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Parser/cxx-template-decl.cpp b/clang/test/Parser/cxx-template-decl.cpp
index 2b2d3de5049..e6cc462504d 100644
--- a/clang/test/Parser/cxx-template-decl.cpp
+++ b/clang/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}}
OpenPOWER on IntegriCloud