OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2001-02-26 Jeffrey Oldham <oldham@codesourcery.com>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
t13.C
1
// Build don't link:
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
}