nridge added a comment.

In D142692#4090867 <https://reviews.llvm.org/D142692#4090867>, @erichkeane 
wrote:

> We have a good amount of AST-dump tests around that are likely the right 
> place to put them perhaps?  What is the reproducer that caused you to 
> discover this issue?

The following is sufficient to reproduce:

  template <typename T>
  T x = {};
  
  template <>
  int x<int> = 42;

However, the patch does not alter the ast-dump (it looks like the template 
param lists stored in DeclaratorDecl's `getExtInfo()->TemplParamLists` are not 
printed).


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D142692/new/

https://reviews.llvm.org/D142692

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to