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

            Bug ID: 99590
           Summary: ICE when pack expansion with lambda
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hewillk at gmail dot com
  Target Milestone: ---

The following code will trigger ICE on gcc-8 ~ gcc-trunk with "-std=c++2a"
mode:

void g(auto... args) {
  ([args...](auto){}(args), ...);  
}

int main() { g(0, 1); }

(goldbot: https://godbolt.org/z/Tvzj7b)

Reply via email to