9 lines
178 B
Rust
9 lines
178 B
Rust
// error-pattern:assertion failed: `(left == right) && (right == left)` (left: `14`, right: `15`)
|
|
|
|
#[deriving(Eq)]
|
|
struct Point { x : int }
|
|
|
|
fn main() {
|
|
assert_eq!(14,15);
|
|
}
|