[cfe-dev] Incomplete checks for pointer addition

Eli Friedman eli.friedman at gmail.com
Mon Feb 4 11:26:42 PST 2008


Testcase:
int a[]; int (*b)[] = &a+1;
Should give an error in sema, but clang lets it through.

Pretty easy to fix.

-Eli



More information about the cfe-dev mailing list