mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-18 03:25:55 +00:00
10 lines
231 B
Rust
10 lines
231 B
Rust
// skip-filecheck
|
|
//@ compile-flags: -O -Zmir-opt-level=2 -Cdebuginfo=0
|
|
|
|
#![crate_type = "lib"]
|
|
|
|
#[derive(PartialOrd, PartialEq)]
|
|
pub struct MultiField(char, i16);
|
|
|
|
// EMIT_MIR derived_ord.{impl#0}-partial_cmp.PreCodegen.after.mir
|