testsuite/semko/alias_suffixes08.stp
raw| 1 | #! stap -u -p2 |
| 2 | |
| 3 | # Test detection of indefinite recursion when suffixes are involved. |
| 4 | |
| 5 | # a.b.c -> ... -> q.c -> r.c.c -> x.b.c.c -> ... -> x.b.c.c.c.c.c.... |
| 6 | probe r = x.b { } |
| 7 | probe q.c = r.c.c { } |
| 8 | probe x.b = q { } |
| 9 | probe ants = x.b { } |
| 10 | probe sandwich = ants { } |
| 11 | probe bronx = sandwich { } |
| 12 | probe a.b = bronx { } |
| 13 | probe a.b.c { print("what?") } |
| 14 |