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

David Blaikie <dblaikie at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dblaikie at gmail dot com

--- Comment #1 from David Blaikie <dblaikie at gmail dot com> ---
>From the LLVM bug, I believe this code is valid C++ but GCC produces an error
for it:

template <class T> struct C {void foo();};
template struct C<int>;
template <class T> void C<T>::foo() {
  static_assert(sizeof(int) == 1);
}

Reply via email to