Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.dg / template / crash12.C
blobe2231e06b9174d8bb27da1c30ad45a5ef2f4c1d6
1 // { dg-do compile }
3 // Origin: rmerkert@alphatech.com
4 //         Volker Reichelt <reichelt@gcc.gnu.org>
6 // PR c++/12495: ICE looking up class template in local class.
8 template <typename> struct A {};
10 template <typename T> void foo()
12     struct B
13     {
14         B (const A<T>&);
15     };