http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17314

--- Comment #17 from Jason Merrill <jason at gcc dot gnu.org> ---
Actually, this seems to be issue 7:

  http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_closed.html#7

So we should reject the variant with a public constructor as well.  It would be
good to get the same diagnostic as in comment #4.

Reply via email to