repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
g++.dg
/
template
/
anon1.C
blob
ef73df6b39e6b93b5cd1bb876b1aff6ffcb3963f
1
struct x {
2
int foo () {}
3
};
4
5
template <class T>
6
struct vector {
7
T& bar () {}
8
};
9
10
template <class T>
11
struct y {
12
typedef struct {
13
x t;
14
} s;
15
16
vector<s> array;
17
18
int foo ()
19
{ return array.bar().t.foo(); }
20
};
21
int i = y<x>().foo ();