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
/
typename18.C
blob
ed423e77becbcd2c805dc0dd2c281bc77d3d82f3
1
// Build don't link:
2
// Special g++ Options:
3
// Origin: Mark Mitchell <mark@codesourcery.com>
4
5
void X();
6
7
template <class T>
8
struct J {
9
typedef T X;
10
};
11
12
template <class T>
13
struct S {
14
typedef T X;
15
16
struct I : public J<X> {
17
static X* f();
18
};
19
};
20
21
S<int> si;