rust/src/test/run-make/graphviz-flowgraph/f09.dot-expected.dot
Patrick Walton a5bb0a3a45 librustc: Remove the fallback to int for integers and f64 for
floating point numbers for real.

This will break code that looks like:

    let mut x = 0;
    while ... {
        x += 1;
    }
    println!("{}", x);

Change that code to:

    let mut x = 0i;
    while ... {
        x += 1;
    }
    println!("{}", x);

Closes #15201.

[breaking-change]
2014-06-29 11:47:58 -07:00

45 lines
1.0 KiB
Plaintext

digraph block {
N0[label="entry"];
N1[label="exit"];
N2[label="expr 91i"];
N3[label="local x"];
N4[label="local _y"];
N5[label="expr x"];
N6[label="expr 92i"];
N7[label="expr x > 92i"];
N8[label="expr 93i"];
N9[label="expr _y"];
N10[label="expr _y = 93i"];
N11[label="block { _y = 93i; }"];
N12[label="expr 94i"];
N13[label="expr 95i"];
N14[label="expr 94i + 95i"];
N15[label="expr _y"];
N16[label="expr _y = 94i + 95i"];
N17[label="block { _y = 94i + 95i; }"];
N18[label="expr { _y = 94i + 95i; }"];
N19[label="expr if x > 92i { _y = 93i; } else { _y = 94i + 95i; }"];
N20[label="block { let x = 91i; let _y; if x > 92i { _y = 93i; } else { _y = 94i + 95i; } }"];
N0 -> N2;
N2 -> N3;
N3 -> N4;
N4 -> N5;
N5 -> N6;
N6 -> N7;
N7 -> N8;
N8 -> N9;
N9 -> N10;
N10 -> N11;
N7 -> N12;
N12 -> N13;
N13 -> N14;
N14 -> N15;
N15 -> N16;
N16 -> N17;
N17 -> N18;
N11 -> N19;
N18 -> N19;
N19 -> N20;
N20 -> N1;
}