[LLVMbugs] [Bug 6378] New: error: illegal storage class on function

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Feb 22 02:29:19 PST 2010


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

           Summary: error: illegal storage class on function
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P5
         Component: -New Bugs
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: amine48rz at gmail.com
   Estimated Hours: 0.0


Here's the testcase : 

void A() {
    auto void B(){};
};

Clang emits an error : illegal storage class on function
    auto void B(){};
    ^
While gcc is fine with it.

-- 
Configure bugmail: http://www.llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the llvm-bugs mailing list