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

            Bug ID: 20984
           Summary: Scope of function name incorrect when used with an
                    identifier-list
           Product: clang
           Version: 3.4
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

In the following snippet, clang incorrectly complains of an undeclared
identifier on line 2, despite the full declarator involving f finishing at the
end of line 1.

void f(a)
char a[sizeof &f];
{
}

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