Clang rejects valid program when using function call operator #100547
Labels
clang:frontend
Language frontend issues, e.g. anything involving "Sema"
confirmed
Verified by a second party
rejects-valid
The following valid program is rejected by clang: Demo
As per over.call, the expression
A{}()
is equivalent to(interpreted as)A{}.operator()()
which clang accepts.The text was updated successfully, but these errors were encountered: