]> git.lizzy.rs Git - rust.git/blob - src/test/run-pass/const-struct-offsets.rs
auto merge of #6053 : nikomatsakis/rust/fixme-2699, r=thestinger
[rust.git] / src / test / run-pass / const-struct-offsets.rs
1 enum Foo {
2     IntVal(i32),
3     Int64Val(i64)
4 }
5
6 struct Bar {
7     i: i32,
8     v: Foo
9 }
10
11 static bar: Bar = Bar { i: 0, v: IntVal(0) };
12
13 fn main() {}
14