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 16:21:00 -05:00
// error-pattern: cycle detected
2017-06-23 09:48:29 -05:00
struct Foo {
bytes: [u8; std::mem::size_of::<Foo>()]
}
fn main() {}