This commit was manufactured by cvs2svn to create branch
[official-gcc.git] / gcc / testsuite / g++.dg / ext / typeof8.C
blob8e6523484e75ed3a9be2b0c364abb97e89704e2d
1 // PR c++/14116
2 // Any use of typeof in a templete was causing an ICE.
3 // { dg-options "" }
5 struct vector { typedef int iterator; };
6 vector read_queue;
7 template <class T> void f(){
8     typedef typeof (read_queue) read_queue_t;
9     read_queue_t::iterator it;