//! Ensure `derive(DeserialWithState)` fails when a 'tag' attribute is greater //! than what 'repr(u8)' can represent. use concordium_std::*; #[derive(DeserialWithState)] #[concordium(repr(u8))] #[concordium(state_parameter = "S")] enum MyTaggedEnum { #[concordium(tag = 256)] One(StateSet), Two, } fn main() {}