1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
use ctor::ctor; #[ctor] static U8: u8 = 42; #[ctor] static U8: u8 = unsafe { 42 }; #[ctor] static U8: u8 = { 42 }; #[ctor] static U8: u8 = const { 42 }; fn main() {}