hokein added a comment. In D86130#2224757 <https://reviews.llvm.org/D86130#2224757>, @rsmith wrote:
> Here's a testcase that produces a name with external linkage: > > struct X { int i, j; }; > auto [a,b] = X{1,2}; > template<typename T> void f(decltype(a + T())) {} > template void f<int>(int); > > We should make sure that we mangle the reference to `a` as `_Z1aE` here. Thanks, added. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D86130/new/ https://reviews.llvm.org/D86130 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits