Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.dg / template / spec9.C
blob013fa0d9920cc27731196c26e940af3209feb80e
1 // { dg-do compile }
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);
13 template<>
14 template<typename T>
15 void C<32>::pre_add(T) {
16   T pre;
19 int main() {
20   C<32>().pre_add<int>(1);