Text · 1085 bytes Raw Blame History
1 suite "v2/generic-graphs"
2
3 case "module_chain_frontend"
4 entry "../../fixtures/modules/module_chain/main.f90"
5 file "../../fixtures/modules/module_chain/math_seed.f90"
6 file "../../fixtures/modules/module_chain/math_values.f90"
7 file "../../fixtures/modules/module_chain/main.f90"
8 compiler armfortas => armfortas.ast, armfortas.sema
9 expect armfortas.ast contains "name: \"math_seed\""
10 expect armfortas.ast contains "module: \"math_values\""
11 expect armfortas.sema contains "local_name: \"doubled\""
12 expect armfortas.sema contains "original_name: \"doubled\""
13 end
14
15 case "module_chain_ir_values"
16 entry "../../fixtures/modules/module_chain/main.f90"
17 file "../../fixtures/modules/module_chain/math_seed.f90"
18 file "../../fixtures/modules/module_chain/math_values.f90"
19 file "../../fixtures/modules/module_chain/main.f90"
20 compiler armfortas => armfortas.ir
21 expect armfortas.ir not-contains "global @math_seed::seed: i32 = zeroinit"
22 expect armfortas.ir not-contains "global @math_values::doubled: i32 = zeroinit"
23 xfail "Imported module values currently lower as zeroinit in multi-file graphs."
24 end
25