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