Open CodingMarkus opened 1 year ago
This could be seen as a dupe of #11488, albeit that report was about the error message which used to be only weak aliases are supported on darwin
at that time and made even less sense to me, since it came when the code was trying to make exactly that, a weak alias.
CC @rjmccall
@llvm/issue-subscribers-clang-frontend
Author: None (CodingMarkus)
clang claims weak aliases are not supported on Darwin. The following code doesn't compile:
Output:
But that's not true. Weak aliases are supported on Darwin. The following code will compile and will behave correctly: