llvm-project
llvm-project copied to clipboard
Clang mishandles multiple local classes with the same name
| Bugzilla Link | 14516 |
| Resolution | FIXED |
| Resolved on | Dec 12, 2014 08:38 |
| Version | trunk |
| OS | Linux |
| Attachments | Test case |
| Reporter | LLVM Bugzilla Contributor |
| CC | @DougGregor,@TNorthover |
Extended Description
In the attached file local-classes.cpp, Clang ends up defining a constructor for only one of the local "A" classes. This is called in both instantiations and gives the wrong result.
This seems to have been fixed, probably long ago.