1// PR c++/14116 2// Any use of typeof in a templete was causing an ICE. 3// { dg-options "" } 4 5struct vector { typedef int iterator; }; 6vector read_queue; 7template <class T> void f(){ 8 typedef typeof (read_queue) read_queue_t; 9 read_queue_t::iterator it; 10} 11 12 13