Debian Codegraph @

gcc/testsuite/g++.dg/template/crash36.C

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