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

           Summary: [sema] invalid conflicting types error
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Semantic Analyzer
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected],
                    [email protected]


clang rejects the following code it should accept; this is a regression since
one or two days ago.
--
ddun...@frank:tmp$ cat t.c
void f0 (unsigned short a0);
extern __typeof (f0) f1;
extern __typeof (f1) f1;
ddun...@frank:tmp$ clang t.c
t.c:3:22: error: conflicting types for 'f1'
extern __typeof (f1) f1;
                     ^
t.c:2:22: note: previous declaration is here
extern __typeof (f0) f1;
                     ^
2 diagnostics generated.
--


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