Changes in tests/bugs/7.cfa [fd54fef:4d23dd2]
- File:
-
- 1 edited
-
tests/bugs/7.cfa (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tests/bugs/7.cfa
rfd54fef r4d23dd2 8 8 9 9 // (Bug 1 unresolved as of this test.) 10 forall( T)10 forall(otype T) 11 11 struct stack_node; 12 12 13 forall( T)13 forall(otype T) 14 14 struct stack_node { 15 15 stack_node(T) * next; … … 17 17 }; 18 18 19 forall( T)19 forall(otype T) 20 20 struct stack { 21 21 stack_node(T) * head; 22 22 }; 23 23 24 trait stack_errors( T) {24 trait stack_errors(otype T) { 25 25 T emptyStackHandler (stack(T) * this); 26 26 }; 27 27 28 forall( T | stack_errors(T))28 forall(otype T | stack_errors(T)) 29 29 T pop (stack(T) * this) { 30 30 return (T){};
Note:
See TracChangeset
for help on using the changeset viewer.