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

Anton Korobeynikov <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|---                         |FIXED

--- Comment #2 from Anton Korobeynikov <[email protected]> ---
ToT correctly handles it.

First testcase compiles w/o error for me. Second yields:

$ clang 1.c
1.c:6:5: error: non-static declaration of 'var' follows static declaration
int var = 0;
    ^
1.c:1:12: note: previous definition is here
static int var;
           ^
1 error generated.


Please reopen is something is still broken

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