| 1 | suite "frontend/stage-walk" |
| 2 | |
| 3 | case "stage_walk" |
| 4 | source "../../fixtures/stage_walk.f90" |
| 5 | armfortas => preprocess, tokens, ast, sema, ir, optir, mir, regalloc, asm, obj, run |
| 6 | expect preprocess contains "Hello, Stage Walk!" |
| 7 | expect tokens contains "identifier" |
| 8 | expect ast contains "Program" |
| 9 | expect sema contains "diagnostics: none" |
| 10 | expect ir contains "module main" |
| 11 | expect optir contains "module main" |
| 12 | expect mir contains "MachineFunction" |
| 13 | expect regalloc contains "PhysReg" |
| 14 | expect asm contains ".globl _main" |
| 15 | expect obj contains "_main" |
| 16 | expect run.stdout contains "Hello, Stage Walk!" |
| 17 | end |
| 18 |