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

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

12 lines
174 B
Rust
Raw Normal View History

2016-08-03 23:51:52 +00:00
#![feature(intrinsics)]
#![feature(rustc_attrs)]
2016-08-03 23:51:52 +00:00
#[rustc_intrinsic]
#[rustc_intrinsic_must_be_overridden]
fn size_of<T>() {
//~^ ERROR E0308
loop {}
2016-08-03 23:51:52 +00:00
}
fn main() {}