[LLVMbugs] [Bug 6782] New: clang accepts code missing ;

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Apr 5 10:00:49 PDT 2010


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

           Summary: clang accepts code missing ;
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: clattner at apple.com
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com


Clang accepts this, but shouldn't.

template<class T>
         class Class1;

         class Class2 {
         }  // no ;

         typedef Class1<Class2> Type1;

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