2004-02-14 Andrew Pinski <pinskia@physics.uc.edu>
* g++.dg/ext/typeof8.C: New test.
From-SVN: r77815
+2004-02-14 Andrew Pinski <pinskia@physics.uc.edu>
+
+ * g++.dg/ext/typeof8.C: New test.
+
2004-02-14 Eric Botcazou <ebotcazou@act-europe.fr>
* gcc.c-torture/compile/20040214-1.c: New test.
--- /dev/null
+// PR c++/14116
+// Any use of typeof in a templete was causing an ICE.
+// { dg-options "" }
+
+struct vector { typedef int iterator; };
+vector read_queue;
+template <class T> void f(){
+ typedef typeof (read_queue) read_queue_t;
+ read_queue_t::iterator it;
+}
+
+