summary refs log tree commit diff
path: root/tests/mir-opt/pre-codegen/derived_ord.rs
blob: bad751edf84190b9b358c474173541b501d9d07b (plain)
1
2
3
4
5
6
7
8
9
// 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