Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/poly-d-cycle.cfa

    rafe2939 rfd54fef  
    11// Check that a cycle of polymorphic dtype structures can be instancated.
    22
    3 forall(dtype T)
     3forall(T &)
    44struct func_table;
    55
    6 forall(dtype U)
     6forall(U &)
    77struct object {
    88        func_table(U) * virtual_table;
    99};
    1010
    11 forall(dtype T)
     11forall(T &)
    1212struct func_table {
    1313        void (*object_func)(object(T) *);
Note: See TracChangeset for help on using the changeset viewer.