blob: 027a908bbccf4a62823eb0bc87c9d7cc5adfd14b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
// { dg-do run }
// Check to make sure we align virtual base classes properly
class eel_base {
public:
};
class markable_eel_base : public eel_base {
private:
int mark;
};
class eel_edge : public markable_eel_base {
public:
private:
int foo;
};
class edge : public virtual eel_edge {
public:
edge() {
_weight = 0.0;
}
private:
double _weight;
};
class eel_branch_edge : public virtual edge {
};
class branch_edge : public eel_branch_edge {
};
class eel_interproc_branch_edge : public branch_edge {
};
class interproc_edge : public virtual edge {
};
class eel_jump_edge : public virtual edge {
protected:
};
class jump_edge : public eel_jump_edge {
public:
};
class eel_interproc_jump_edge : public jump_edge {
protected:
};
class interproc_jump_edge : public eel_interproc_jump_edge,
public interproc_edge {
public:
};
int main () {
void *vp = new interproc_jump_edge();
}
|