()
| 1294 | } |
| 1295 | |
| 1296 | #[test] |
| 1297 | fn dispatch_backtracks_segments() { |
| 1298 | let f = facts("int go(struct c *x){ x->cmd->proc(1); tbl[i](2); (*ops[k])(3); }"); |
| 1299 | assert!(f.dispatch_fields.contains(&"proc".to_string())); |
| 1300 | assert!(f.array_dispatch_names.contains(&"tbl".to_string())); |
| 1301 | assert!(f.array_dispatch_names.contains(&"ops".to_string())); |
| 1302 | } |
| 1303 | |
| 1304 | #[test] |