aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/rust/compile/issue-4212.rs
blob: e068e458c24fced0ee975debcdafa4f0d474f42c (plain)
1
2
3
4
5
#![derive(PartialOrd, PartialEq)]
// { dg-error "derive attribute cannot be used at crate level" "" { target *-*-* } .-1 }
pub fn check_ge(a: i32, b: i32) -> bool {
    a >= b
}