rust/tests/mir-opt/pre-codegen/no_inlined_clone.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
245 B
Rust
Raw Normal View History

#![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,
}