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: [email protected]
Reporter: [email protected]
CC: [email protected]
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs