1 2 3 4 5 6 7 8 9 10 11
// { dg-do assemble } // Error: Internal compiler error in 2.7.2 & EGCS 1.0.0 template <int nlimb, int i> inline unsigned f (unsigned* ptr); template <int nlimb> inline unsigned f<nlimb,nlimb> (unsigned* ptr) // { dg-error "function template partial specialization" } { return 1; }