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

             Bug #: 14046
           Summary: #pragma weak not parsing
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: -New Bugs
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified


This is a recent regression. Testcase:

extern int abc(void);

void foo() {
#pragma weak abc
}

Today it issues this error:

p.c:4:9: error: expected expression
#pragma weak abc
        ^
1 error generated.

Last week this parsed cleanly. It should parse fine.

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