rust/tests/ui/macros/assert-ne-macro-panic.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
196 B
Rust
Raw Normal View History

//@ run-fail
//@ error-pattern:assertion `left != right` failed
//@ error-pattern: left: 14
//@ error-pattern: right: 14
//@ ignore-emscripten no processes
fn main() {
assert_ne!(14, 14);
}