denyhosts/clamav/libclamav_rust/.cargo/vendor/wasm-bindgen-macro/ui-tests/invalid-enums.rs

22 lines
214 B
Rust
Raw Normal View History

2023-01-14 18:28:39 +08:00
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
enum A {}
#[wasm_bindgen]
pub enum B {
D(u32),
}
#[wasm_bindgen]
pub enum C {
X = 1 + 3,
}
#[wasm_bindgen]
pub enum D {
X = 4294967296,
}
fn main() {}