https://bugs.llvm.org/show_bug.cgi?id=35075
Alexander Kornienko <ale...@google.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |---
--- Comment #7 from Alexander Kornienko <ale...@google.com> ---
Long time no see ;) Here's another crash:
namespace std {
template <typename>
class b;
class B {
public:
long c;
};
template <typename f, typename... d>
class b<f(d...)> : B {
public:
f operator()(d...) const;
};
template <typename f, typename... d>
f b<f(d...)>::operator()(d...) const {
bool e = c;
}
struct j {
int _M_once = 0;
};
template <typename g, typename... h>
void call_once(g &&, h &&...);
} // namespace std
void i(std::b<bool()> &l) { l(); }
void k() {
std::j a;
call_once(a, i, k);
}
George, could you take a look?
--
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