[Bug c++/88242] static_assertion only fires when class is templated

2020-08-17 Thread fiesh at zefix dot tv
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88242 fiesh at zefix dot tv changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/88242] static_assertion only fires when class is templated

2019-10-14 Thread fiesh at zefix dot tv
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88242 --- Comment #2 from fiesh at zefix dot tv --- So from the discussion https://bugs.llvm.org/show_bug.cgi?id=41785 I think this also is actually ill-formed code.

[Bug c++/88242] static_assertion only fires when class is templated

2019-03-30 Thread fiesh at zefix dot tv
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88242 --- Comment #1 from fiesh at zefix dot tv --- Ran through creduce: template struct b { static constexpr int c = a; }; template struct d {}; template struct j; template struct j> : b {}; template constexpr long h = j::c; template struct n :