rust/tests/ui/consts/const-size_of-cycle.rs

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

8 lines
107 B
Rust
Raw Normal View History

2018-04-15 23:21:00 +02:00
// error-pattern: cycle detected
2017-06-23 17:48:29 +03:00
struct Foo {
bytes: [u8; std::mem::size_of::<Foo>()]
}
fn main() {}