rust/tests/ui/macros/assert-as-macro.rs
2024-02-16 20:02:50 +00:00

8 lines
127 B
Rust

//@ run-fail
//@ error-pattern:assertion failed: 1 == 2
//@ ignore-emscripten no processes
fn main() {
assert!(1 == 2);
}