ADT
arm-eh
ast-experimental
enum
forall-pointer-decay
jacob/cs343-translation
new-ast
new-ast-unique-expr
pthread-emulation
qualifiedEnum
stuck-waitfor-destruct
|
Last change
on this file since 15806ed was 15806ed, checked in by Andrew Beach <ajbeach@…>, 6 years ago |
|
Added bugs for 203 (the new multipart one) and 140 (the only issue marked critical).
|
-
Property mode
set to
100644
|
|
File size:
391 bytes
|
| Line | |
|---|
| 1 | // Trac ticket: https://cforall.uwaterloo.ca/trac/ticket/203
|
|---|
| 2 |
|
|---|
| 3 | forall(dtype G)
|
|---|
| 4 | struct base_vtable {
|
|---|
| 5 | base_vtable(G) const * const parent;
|
|---|
| 6 | };
|
|---|
| 7 |
|
|---|
| 8 | forall(dtype H)
|
|---|
| 9 | struct child_vtable {
|
|---|
| 10 | base_vtable(H) const * const parent;
|
|---|
| 11 | };
|
|---|
| 12 |
|
|---|
| 13 | base_vtable(int) base_vtable_instance @= { 0 };
|
|---|
| 14 | base_vtable(char) base_vtable_instance @= { 0 };
|
|---|
| 15 |
|
|---|
| 16 | child_vtable(char) child_vtable_instance @= {
|
|---|
| 17 | &base_vtable_instance
|
|---|
| 18 | };
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.