arm-ehenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
Last change
on this file since 15806ed was
15806ed,
checked in by Andrew Beach <ajbeach@…>, 3 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.