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

           Summary: llvm-as incorrectly flags multiple declarations as
                    multiple definitions
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


If a function is declared multiple times in bitcode, TOT now issues an error
about it being multiply defined:

% echo "declare i1 @foo()\ndeclare i1 @foo()\n" | llvm-as
llvm-as: <stdin>:2:12: error: invalid redefinition of function 'foo'
declare i1 @foo()
           ^
%

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