rust/tests/ui/error-codes/E0133.rs

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

10 lines
136 B
Rust
Raw Normal View History

// revisions: mir thir
// [thir]compile-flags: -Z thir-unsafeck
2016-05-27 20:06:24 +00:00
unsafe fn f() { return; }
fn main() {
2016-08-10 07:29:45 +00:00
f();
//~^ ERROR E0133
2016-05-27 20:06:24 +00:00
}