about summary refs log tree commit diff
path: root/src/test/run-fail/assert-eq-macro-fail.rs
blob: a31bd25a6f1d640f730f8069480f6dc25185c7f0 (plain)
1
2
3
4
5
6
7
8
// error-pattern:assertion failed: `(left == right) && (right == left)` (left: `14`, right: `15`)

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

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