http://llvm.org/bugs/show_bug.cgi?id=8444

           Summary: c++ templated embedded class looses field that under
                    union
           Product: clang
           Version: trunk
          Platform: Other
        OS/Version: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]


Created an attachment (id=5651)
 --> (http://llvm.org/bugs/attachment.cgi?id=5651)
test case

For some reason I get this error when I compile the attached test case with
clang++:
allocators-e2.C:41:17: error: no member named 'xxxs' in 'Ppp::Ggg::Qqq<10,
10>::Hhh'
    ttt = &hhh->xxxs[0];

Even though there is the field xxxs in Hhh structure.

I am sure it's possible to minimize this testcase further.

rev.117057

-- 
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to