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

--- Comment #1 from Johannes Schaub <schaub.johannes at googlemail dot com> ---
Sorry, forgot to actually add the code of the reduced testcase:

   template<int N, typename T = char[N-1]>
   void f(char(&)[N])
   { }

   int main() {
      char x[1];
      f(x);
   }

Reply via email to