oxc/crates/oxc_semantic/tests/integration/snapshots/two_functions.snap

70 lines
1.1 KiB
Text

---
source: crates/oxc_semantic/tests/integration/cfg.rs
expression: snapshot
input_file: crates/oxc_semantic/tests/integration/cfg_fixtures/two_functions.js
---
bb0: {
}
bb1: {
}
bb2: {
}
bb3: {
return <value>
}
bb4: {
unreachable
}
bb5: {
}
bb6: {
}
bb7: {
return <value>
}
bb8: {
unreachable
}
bb9: {
}
digraph {
0 [ label = "" ]
1 [ label = "" ]
2 [ label = "" ]
3 [ label = "return <value>" ]
4 [ label = "unreachable" ]
5 [ label = "" ]
6 [ label = "" ]
7 [ label = "return <value>" ]
8 [ label = "unreachable" ]
9 [ label = "" ]
1 -> 0 [ label = "Error(Implicit)" ]
3 -> 2 [ label = "Error(Implicit)" ]
1 -> 3 [ label = "NewFunction" ]
4 -> 2 [ label = "Error(Implicit)" , style = "dotted" ]
3 -> 4 [ label = "Unreachable" , style = "dotted" ]
5 -> 0 [ label = "Error(Implicit)" ]
1 -> 5 [ label = "Normal" ]
7 -> 6 [ label = "Error(Implicit)" ]
5 -> 7 [ label = "NewFunction" ]
8 -> 6 [ label = "Error(Implicit)" , style = "dotted" ]
7 -> 8 [ label = "Unreachable" , style = "dotted" ]
9 -> 0 [ label = "Error(Implicit)" ]
5 -> 9 [ label = "Normal" ]
}