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

             Bug #: 11343
           Summary: clang does not compute composite type correctly for
                    function redeclaration
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: -New Bugs
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified


Testcase:

typedef int IA[];
typedef int A10[10];
extern A10 *c5(void);
extern IA *c5(void);
int test[sizeof(*c5())];

This is valid C; clang rejects it.  Not really a serious issue in practice, but
strictly speaking we aren't doing the right thing here.

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