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
Dead
[official-gcc.git]
/
gomp-20050608-branch
/
gcc
/
testsuite
/
g++.old-deja
/
g++.mike
/
p4693.C
blob
67d040e919d12db7434cf52e81067051cac1241f
1
// { dg-do assemble }
2
// prms-id: 4693
3
4
class a {
5
public:
6
virtual ~a();
7
};
8
9
class b {
10
public:
11
virtual void set_var() = 0;
12
};
13
14
class c : public b, public a { };
15
16
class d : public c {
17
public:
18
void set_var() { }
19
};
20
21
int main() {
22
d * test;
23
test = new d;
24
}