Issue 89909
Summary Implementing friend operator with two exclusive requires clauses but same name of requirement causes "error: redefinition of 'operator<<'"
Labels new issue
Assignees
Reporter gsamatt
    This does not compile with clang 18 but it does with clang 17:
https://godbolt.org/z/orMfTfxMd

This would compile with both compiler as it uses a different name for the requirement:
https://godbolt.org/z/Mjxq54abb

_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to