3 // Origin: Lynn Akers <lakers@peachtree.com>
4 // Wolfgang Bangerth <bangerth@ticam.utexas.edu>
6 // PR c++/10956: Incorrect template substitution for member template
7 // specialization inside template class.
9 template <int> struct C {
10 template<typename T> void pre_add(T);
15 void C<32>::pre_add(T) {
20 C<32>().pre_add<int>(1);