hubert.reinterpretcast added inline comments. ================ Comment at: test/CXX/concepts-ts/dcl.dcl/dcl.spec/dcl.concept/p7.cpp:13 @@ +12,3 @@ +template<typename T> concept bool FCEI() { return true; } +template concept bool FCEI<int>(); // expected-error {{function concept cannot be explicitly instantiated}} + ---------------- "extern template" is a form of explicit instantiation as well. I suggest testing that for both the function concept and variable concept cases.
http://reviews.llvm.org/D13357 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits