()
| 1304 | } |
| 1305 | |
| 1306 | #[test] |
| 1307 | fn dispatch_backtracks_segments() { |
| 1308 | let f = facts("int go(struct c *x){ x->cmd->proc(1); tbl[i](2); (*ops[k])(3); }"); |
| 1309 | assert!(f.dispatch_fields.contains(&"proc".to_string())); |
| 1310 | assert!(f.array_dispatch_names.contains(&"tbl".to_string())); |
| 1311 | assert!(f.array_dispatch_names.contains(&"ops".to_string())); |
| 1312 | } |
| 1313 | |
| 1314 | #[test] |