summaryrefslogtreecommitdiffstats
path: root/clang/test
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-06-24 00:54:41 +0000
committerDouglas Gregor <dgregor@apple.com>2009-06-24 00:54:41 +0000
commit17a7c1297ac8e1490d611d77d7e33863dfa3700a (patch)
tree3a4d28c96305975b8c17f0a75d68a5d7395126da /clang/test
parent92ffdd15f8bbb16e3494cecc0253f9960a657432 (diff)
downloadbcm5719-llvm-17a7c1297ac8e1490d611d77d7e33863dfa3700a.tar.gz
bcm5719-llvm-17a7c1297ac8e1490d611d77d7e33863dfa3700a.zip
Make sure that the template parameter lists get from the parser down to ActOnFunctionDeclarator for function template definitions
llvm-svn: 74040
Diffstat (limited to 'clang/test')
-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 75b26a98e44..aaf3ee77a36 100644
--- a/clang/test/Parser/cxx-template-decl.cpp
+++ b/clang/test/Parser/cxx-template-decl.cpp
@@ -37,7 +37,7 @@ template <template <typename> class T = foo> class TTP3; // FIXME:expected-error
template <template <typename> class = foo> class TTP3; // FIXME:expected-error{{template argument for template template parameter must be a template}}
template <template <typename X, typename Y> class T> class TTP5;
-// Forward declararations with non-type params
+// Forward declarations with non-type params
template <int> class NTP0;
template <int N> class NTP1;
template <int N = 5> class NTP2;
OpenPOWER on IntegriCloud