pub fn main
This commit is contained in:
parent
d009c6330b
commit
7c34908e69
@ -12,6 +12,6 @@
|
||||
struct S { a: u8, b: E }
|
||||
const C: S = S { a: 0xA5, b: E(0xDEADBEEF) };
|
||||
|
||||
fn main() {
|
||||
pub fn main() {
|
||||
assert C.b == 0xDEADBEEF;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user