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 15:06:24 -05:00
unsafe fn f() { return; }
fn main() {
2016-08-10 02:29:45 -05:00
f();
//~^ ERROR E0133
2016-05-27 15:06:24 -05:00
}