[llvm-bugs] [Bug 49632] New: Segmentation fault when pack expansion with lambda

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Mar 18 10:49:33 PDT 2021


https://bugs.llvm.org/show_bug.cgi?id=49632

            Bug ID: 49632
           Summary: Segmentation fault when pack expansion with lambda
           Product: clang
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: hewillk at gmail.com
                CC: llvm-bugs at lists.llvm.org, neeilans at live.com,
                    richard-llvm at metafoo.co.uk

void f(auto... args) {
  ([=](auto...) -> decltype(args) { return {}; } (), ...);
}

int main() {
  f(0);
}


(goldbot: https://godbolt.org/z/17rhfh)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210318/9c82d2df/attachment.html>


More information about the llvm-bugs mailing list