diff options
author | Faisal Vali <faisalv@yahoo.com> | 2013-12-04 03:51:14 +0000 |
---|---|---|
committer | Faisal Vali <faisalv@yahoo.com> | 2013-12-04 03:51:14 +0000 |
commit | cb7e5df97efa0d5cbe6e51902cd619bec1516f16 (patch) | |
tree | cd7e19f87665338b5a63528d117a2c29a0817786 /clang/test/Parser/cxx-template-argument.cpp | |
parent | 0acd8a756133c48b9342444a5d32cac3fbcc9911 (diff) | |
download | bcm5719-llvm-cb7e5df97efa0d5cbe6e51902cd619bec1516f16.tar.gz bcm5719-llvm-cb7e5df97efa0d5cbe6e51902cd619bec1516f16.zip |
Fix PR17637: incorrect calculation of template parameter depth
In delayed template parsing mode, adjust the template depth counter for each template parameter list associated with an out of line member template specialization.
llvm-svn: 196351
Diffstat (limited to 'clang/test/Parser/cxx-template-argument.cpp')
-rw-r--r-- | clang/test/Parser/cxx-template-argument.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/test/Parser/cxx-template-argument.cpp b/clang/test/Parser/cxx-template-argument.cpp index 8bf2a4f78ad..bbd53b2bdd6 100644 --- a/clang/test/Parser/cxx-template-argument.cpp +++ b/clang/test/Parser/cxx-template-argument.cpp @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -verify %s +// RUN: %clang_cc1 -fsyntax-only -verify %s -fdelayed-template-parsing template<typename T> struct A {}; |