summaryrefslogtreecommitdiffstats
path: root/src/test/ui/deriving/derive-no-std.rs
blob: 74c73b99cb92367dedc607d4040d14b3875e80ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// run-pass
// aux-build:derive-no-std.rs

extern crate derive_no_std;
use derive_no_std::*;

fn main() {
    let f = Foo { x: 0 };
    assert_eq!(f.clone(), Foo::default());

    assert!(Bar::Qux < Bar::Quux(42));
}