rust/tests/ui/macros/assert-as-macro.rs
2023-01-11 09:32:08 +00:00

8 lines
124 B
Rust

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