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
FSF GCC merge 02/23/03
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
typename23.C
blob
5bdbe6fd61c062c8be503eb75d80383dda9c5cb9
1
// Build don't link:
2
template<class T>
3
void value_type(T){}
4
5
template <class T>
6
struct B{
7
typedef T value_type;
8
};
9
10
template<class>class Vector{};
11
12
template<class T>
13
struct D:B<T>{
14
Vector<value_type> r; // ERROR - value_type is not a type
15
};