https://llvm.org/bugs/show_bug.cgi?id=26512
Reid Kleckner <r...@google.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|DUPLICATE |--- --- Comment #3 from Reid Kleckner <r...@google.com> --- This appears to be different. It has to do with dependent types sneaking through to codegen via templated friend functions (ew). Here's what I got from reduction: struct A { template <class, bool> class B { template <class r_colony_allocator_type, bool r_is_const, class distance_type> friend void advance(B<r_colony_allocator_type, r_is_const> &, distance_type); }; template <class r_colony_allocator_type, bool r_is_const, class distance_type> friend void advance(B<r_colony_allocator_type, r_is_const> &, distance_type) { distance_type a; } }; int main() { A::B<int, false> b; advance(b, 0); } -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs