[LLVMbugs] [Bug 7751] New: scope private not identified

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Jul 29 10:13:27 PDT 2010


           Summary: scope private not identified
           Product: clang
           Version: 2.7
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: sc.venkatesh at gmail.com
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com

#include <stdio.h>

class test
    void print( )
        printf( "private function" );

int main( )
    test p;
    clang does not complain private print(). is this intentional ?
    p.print( );
    return 0;

Clang Compiler without any Changes Built from V2.7.

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