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
2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
t13.C
blob
f2c5180d43d54dccabe07282657b8456ba4dee39
1
// { dg-do assemble }
2
3
template <class A> class B {
4
public:
5
B();
6
A a;
7
int i;
8
};
9
10
void *f () {
11
return new B<char *>;
12
}
13
14
struct foo { int i[10]; };
15
extern B<foo> *foop;
16
17
void f2 () {
18
foop = new B<foo>;
19
}