source: tests/bugs/203-6.cfa @ 1d17939

ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
Last change on this file since 1d17939 was 15806ed, checked in by Andrew Beach <ajbeach@…>, 4 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
3forall(dtype G)
4struct base_vtable {
5        base_vtable(G) const * const parent;
6};
7
8forall(dtype H)
9struct child_vtable {
10        base_vtable(H) const * const parent;
11};
12
13base_vtable(int) base_vtable_instance @= { 0 };
14base_vtable(char) base_vtable_instance @= { 0 };
15
16child_vtable(char) child_vtable_instance @= {
17        &base_vtable_instance
18};
Note: See TracBrowser for help on using the repository browser.