[LLVMbugs] [Bug 2360] New: typedefed function prototype bug

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sat May 24 05:37:34 PDT 2008


           Summary: typedefed function prototype bug
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Semantic Analyzer
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: csaba.hruska at gmail.com
                CC: llvmbugs at cs.uiuc.edu

Created an attachment (id=1667)
 --> (http://llvm.org/bugs/attachment.cgi?id=1667)
buggy source file

Clang segfaults for this file.

if the b is the firts in the declaration then it compiles.
it also compiles with gcc.
i used clang svn revision 51543.


typedef void fn_t();

fn_t a,b;

void b()

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