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

            Bug ID: 17535
           Summary: clang should reject aliases to undefined symbols
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

gcc rejects:

int f(int c) __attribute__((alias("g")));

with the error

/home/espindola/llvm/test.c:1:5: error: ā€˜f’ aliased to undefined symbol ā€˜g’
 int f(int c) __attribute__((alias("g")));

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