rust/tests/ui/numbers-arithmetic/location-sub-overflow.rs

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

8 lines
110 B
Rust
Raw Normal View History

2023-11-23 10:54:06 -06:00
// run-fail
// ignore-wasm32
// error-pattern:location-sub-overflow.rs
fn main() {
let _: u8 = 0 - &1;
}