https://llvm.org/bugs/show_bug.cgi?id=28003

            Bug ID: 28003
           Summary: Extra errors when static does not appear in the
                    outermost array type derivation
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: unassignedclangb...@nondot.org
          Reporter: ens...@mailnesia.com
                CC: llvm-bugs@lists.llvm.org
    Classification: Unclassified

This declaration

    void f_static(float (**********A)[static 10]);

produces ten errors: one "error: 'static' used in non-outermost array type
derivation" and nine "error: type qualifier used in non-outermost array type
derivation". 

Expected behavior: only one error (error: 'static' used in non-outermost array
type derivation) is emitted.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to