1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
// { dg-do compile } // Origin: David Robinson <drtr@dial.pipex.com> // PR c++/11513: ICE due to incorrect decision whether the tag is template. template <typename T> struct bar { struct foo { int a; }; template <typename U> int wom(U c) { struct foo b; } };