Constexpr non-scalar variable not usable in lambda without capture or local class #34603
Labels
bugzilla
Issues migrated from bugzilla
c++17
clang:frontend
Language frontend issues, e.g. anything involving "Sema"
rejects-valid
Extended Description
Tested through compiler explorer with the version 6.0.0 (trunk 317548).
Link of the example: https://godbolt.org/g/Q91sd1
code:
log:
The text was updated successfully, but these errors were encountered: