rsmith requested changes to this revision.
rsmith added a comment.
This revision now requires changes to proceed.

Why do you think this is ill-formed? Using a type with internal linkage as the 
type of an extern "C" function is explicitly permitted by the C++ standard. 
[basic.link]p8 says:

"A type without linkage shall not be used as the type of a variable or function 
with external linkage unless the entity has C language linkage [...]."


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