blob: 0db3b6f7d1646ff0b68bb64ecb8b7390bd1ee5e4 [file] [log] [blame] [edit]
macro_rules! get_an_isize {
() => (0_isize)
}
#[derive(num_derive::FromPrimitive)]
pub enum CLikeEnum {
VarA = get_an_isize!(),
VarB = 2,
}