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

            Bug ID: 15668
           Summary: static, extern, static function is rejected
                    incorrectly
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

This is presumably 3645, again (though with a function).

static void a(void);
extern void a();
static void a(void) {}

is rejected by clang, but not by gcc (and other compilers). The code appears to
be valid (the function is static).

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