[LLVMbugs] [Bug 17762] New: clang accept -> to access struct whehn it should be dot (.)
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Oct 31 12:56:58 PDT 2013
http://llvm.org/bugs/show_bug.cgi?id=17762
Bug ID: 17762
Summary: clang accept -> to access struct whehn it should be
dot (.)
Product: clang
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: pichet2000 at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
give test.c:
struct s {
int i;
};
int test(struct s c)
{
return c->i;
}
clang test.c
clang won't output an error.
--
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/20131031/fb0af020/attachment.html>
More information about the llvm-bugs
mailing list