hintonda added a comment.

Here's an example of when this will cause a crash:

namespace {
Struct G;
extern "C" G *f(); // has external linkage
G *f();            // will assert since it has internal linkage because of G 
and doesn't match previous declaration
}


http://reviews.llvm.org/D17362



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to