https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105452

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at gcc dot gnu.org      |jason at gcc dot gnu.org
             Status|NEW                         |ASSIGNED

--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> ---
If v is dependent, the testcase last worked in 4.5.

template <typename T>
struct C {
  union {
    T v;
    static_assert(sizeof(v) == sizeof(char), "");
  };
};

int main() {
  C<char> x;
}
  • [Bug c++/105452] [10/11/12/13 R... jason at gcc dot gnu.org via Gcc-bugs

Reply via email to