[llvm-bugs] [Bug 28003] New: Extra errors when static does not appear in the outermost array type derivation
via llvm-bugs
llvm-bugs at lists.llvm.org
Sat Jun 4 11:40:33 PDT 2016
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: unassignedclangbugs at nondot.org
Reporter: ensadc at mailnesia.com
CC: llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160604/6f84b75f/attachment.html>
More information about the llvm-bugs
mailing list