clang not diagnosing generic lambda with identifier in capture matching declarator-id of template parameter #61105
Labels
accepts-invalid
clang:frontend
Language frontend issues, e.g. anything involving "Sema"
confirmed
Verified by a second party
Given the following:
clang should diagnose this since it is ill-formed, we can see this from expr.prim.lambda.capture p5 which says:
and also has the following example:
The text was updated successfully, but these errors were encountered: