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
reflect: canonicalize types returned by StructOf() and friends
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.brendan
/
template20.C
blob
6b7c40d0eec0d4a542a7bfb2516501e2f3cea4e2
1
// { dg-do assemble }
2
// GROUPS passed templates
3
template <class A, class B> class Map;
4
5
class Foo
6
{
7
public:
8
static Map<int,int> bar;
9
};
10
11
template <class A, class B>
12
class Map
13
{
14
public :
15
int find();
16
};
17
18
int main()
19
{
20
int z = Foo::bar.find();
21
}