Open GuzevArtem opened 1 month ago
@llvm/issue-subscribers-clang-frontend
Author: None (GuzevArtem)
At first glance this is likely a duplicate of https://github.com/llvm/llvm-project/issues/35052
For future readers WA - remove explicit lambda return type more details: https://github.com/llvm/llvm-project/issues/35052#issuecomment-1797064371
Example below compiles fine under MSVC and GCC
If foo isn't templated, it compiles fine.
https://godbolt.org/z/6bj4d6zef