[clang] Designated Initializer + Anonymous Union + Generic Lambda false positive assignment bug #62023
Labels
clang:frontend
Language frontend issues, e.g. anything involving "Sema"
confirmed
Verified by a second party
rejects-valid
This combination of a designated initializers, an anonymous union, and a generic lambda does not compile in Clang but does compile in GCC and MSVC. Replacing the assignment value with an expression that doesn't include a variable seems to work but breaks with variables.
Godbolt
The text was updated successfully, but these errors were encountered: