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

Nick Lewycky <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|                            |FIXED

--- Comment #2 from Nick Lewycky <[email protected]> 2010-04-12 00:39:43 CDT ---
Believe it or not r99761 is so old that it predates access control in clang,
access control being the term for public/protected/private in C++. With a
current clang from svn head, you should get:

$ clang++ pr6818.cc
pr6818.cc:9:11: error: 'Elem' is a private member of 'List'
    List::Elem a;
          ^
pr6818.cc:3:16: note: declared private here
        struct Elem {
               ^
1 error generated.

Please reopen if that isn't the case with clang post-r100880.

-- 
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