about summary refs log tree commit diff
path: root/tests/mir-opt/pre-codegen/no_inlined_clone.rs
blob: 475b230b465258d2cc1f1c5368b45caa932a78de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#![crate_type = "lib"]

// EMIT_MIR no_inlined_clone.{impl#0}-clone.PreCodegen.after.mir

// CHECK-LABEL: ::clone(
// CHECK-NOT: inlined clone::impls::<impl Clone for {{.*}}>::clone
// CHECK: return;

#[derive(Clone)]
struct Foo {
    a: i32,
}