[llvm-bugs] [Bug 28555] Clang core dumps on recursive template instantiation of tuples

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Jul 14 13:25:07 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=28555

David Majnemer <david.majnemer at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WORKSFORME

--- Comment #3 from David Majnemer <david.majnemer at gmail.com> ---
This has been fixed on trunk (r275169):

arb-len-tup.cpp:38:15: error: redefinition of 'b' with a different type:
'ntuple_t<2>' vs 'ntuple_t<1>'
  ntuple_t<2> b = make<2>(0);
              ^
arb-len-tup.cpp:37:15: note: previous definition is here
  ntuple_t<1> b = make<1>(0);
              ^
arb-len-tup.cpp:40:23: error: use of undeclared identifier 'c'
  operator<<<2>(cout, c);
                      ^
2 errors generated.

Feel free to reopen if you can reproduce on trunk.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160714/4e6828a5/attachment.html>


More information about the llvm-bugs mailing list