Changes in tests/poly-d-cycle.cfa [afe2939:fd54fef]
- File:
-
- 1 edited
-
tests/poly-d-cycle.cfa (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
tests/poly-d-cycle.cfa
rafe2939 rfd54fef 1 1 // Check that a cycle of polymorphic dtype structures can be instancated. 2 2 3 forall( dtype T)3 forall(T &) 4 4 struct func_table; 5 5 6 forall( dtype U)6 forall(U &) 7 7 struct object { 8 8 func_table(U) * virtual_table; 9 9 }; 10 10 11 forall( dtype T)11 forall(T &) 12 12 struct func_table { 13 13 void (*object_func)(object(T) *);
Note:
See TracChangeset
for help on using the changeset viewer.