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
/
crash38.C
blob
49270644395f81f966c7383887fcbd1273e36a71
1
// Build don't link:
2
// Origin: Mark Mitchell <mark@codesourcery.com>
3
4
template <class T>
5
struct S {
6
typedef typename T::Y<T>::Z X; // ERROR - No Y in A
7
X x; // ERROR - No Y in A
8
};
9
10
struct A {
11
struct Y {
12
typedef A Z;
13
};
14
};
15
16
template struct S<A>;