[cfe-commits] [patch][pr14766] Reject invalid redeclarations of extern C functions and variables

Rafael EspĂ­ndola rafael.espindola at gmail.com
Wed Jan 9 20:45:23 PST 2013


Thanks for the review on IRC!

An updated patch is attached. CCing dgregor since this makes us reject in C:

void test() {
  int outer8(int);
}
static float outer8(float);

which I think is invalid, but we had a test for in
test/Sema/function-redecl.c since r65792.

Cheers,
Rafael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t.patch
Type: application/octet-stream
Size: 3491 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130109/3d7b3f0a/attachment.obj>


More information about the cfe-commits mailing list