[LLVMbugs] [Bug 14516] New: Clang mishandles multiple local classes with the same name
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Dec 5 02:14:09 PST 2012
http://llvm.org/bugs/show_bug.cgi?id=14516
Bug #: 14516
Summary: Clang mishandles multiple local classes with the same
name
Product: clang
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: tim.northover at arm.com
CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 9642
--> http://llvm.org/bugs/attachment.cgi?id=9642
Test case
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.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list