repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
This commit was manufactured by cvs2svn to create branch
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
ext
/
typeof8.C
blob
8e6523484e75ed3a9be2b0c364abb97e89704e2d
1
// PR c++/14116
2
// Any use of typeof in a templete was causing an ICE.
3
// { dg-options "" }
4
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;
10
}
11
12