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