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
cp:
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
crash39.C
1
// Build don't link:
2
// Origin: Ian Nixon <ian@tharas.com>
3
4
class Action {
5
public:
6
virtual void action () = 0;
7
};
8
9
class Var {
10
public:
11
12
template<class Base> void Add() {
13
struct tmp : public Action {
14
void action () {}
15
};
16
tmp *tp = new tmp;
17
}
18
19
};