Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.dg / template / crash36.C
blob2f0ef921a6768503dda2411b5f1477075fbf042f
1 // { dg-do compile }
3 // Origin: Ivan Godard <igodard@pacbell.net>
4 //         Andrew Pinski <pinskia@gcc.gnu.org>
6 // PR c++/20333: ICE parsing typename without nested-name-specifier
8 template<class> struct f {};
9 f<int> f2[2] = {typename f<int>()};     // { dg-error "" }