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
Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git]
/
old-autovect-branch
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
memclass2.C
blob
bfad59687103f6f929968a5d734d44bd656dac00
1
// { dg-do run }
2
template <class T> struct A {
3
template <class U> struct B {
4
template <class V> void f (V) { }
5
void g () { }
6
};
7
template <class W> struct B<W*> {
8
void h () { }
9
};
10
};
11
12
int main ()
13
{
14
A<int>::B<char> b;
15
b.f (42);
16
b.g ();
17
A<double>::B<void*> b2;
18
b2.h ();
19
}