summary refs log tree commit diff
path: root/tests/mir-opt/pre-codegen/no_inlined_clone.{impl#0}-clone.PreCodegen.after.mir
blob: 62a9cd9131f0b69d5e97b137a48ad2f9c9a0c22f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// MIR for `<impl at $DIR/no_inlined_clone.rs:9:10: 9:15>::clone` after PreCodegen

fn <impl at $DIR/no_inlined_clone.rs:9:10: 9:15>::clone(_1: &Foo) -> Foo {
    debug self => _1;
    let mut _0: Foo;
    let mut _2: i32;

    bb0: {
        StorageLive(_2);
        _2 = copy ((*_1).0: i32);
        _0 = Foo { a: move _2 };
        StorageDead(_2);
        return;
    }
}