summary refs log tree commit diff
path: root/src/test/run-fail/assert-eq-macro-fail.rs
blob: facfb89409c28d7e0cd27452bc6868a7e50d77f5 (plain)
1
2
3
4
5
6
7
8
// error-pattern:left: 14 does not equal right: 15

#[deriving(Eq)]
struct Point { x : int }

fn main() {
    assert_eq!(14,15);
}