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
Update ChangeLog and version files for release
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
memclass5.C
blob
eb32f13c916e7a417d9d02d446cd8bbce2158149
1
// PR c++/60241
2
3
template <typename T>
4
struct x
5
{
6
template <typename U>
7
struct y
8
{
9
typedef T result2;
10
};
11
12
typedef y<int> zy;
13
};
14
15
template<>
16
template<class T>
17
struct x<int>::y
18
{
19
typedef double result2;
20
};
21
22
int main()
23
{
24
x<int>::zy::result2 xxx;
25
x<int>::y<int>::result2 xxx2;
26
}