Sign in
rust
/
rust-lang
/
rust
/
refs/heads/lcnr/rustc-dev-guide
/
.
/
tests
/
mir-opt
/
pre-codegen
/
no_inlined_clone.rs
blob: 475b230b465258d2cc1f1c5368b45caa932a78de [
file
] [
log
] [
blame
]
#![
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
,
}