1 2 3 4 5 6 7 8 9
// { dg-do compile } // Origin: Ivan Godard <igodard@pacbell.net> // Andrew Pinski <pinskia@gcc.gnu.org> // PR c++/20333: ICE parsing typename without nested-name-specifier template<class> struct f {}; f<int> f2[2] = {typename f<int>()}; // { dg-error "" }