mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-03-17 18:50:51 +00:00
This migrates our UI tests to the recently published `trybuild` crate which should hopefully be a bit more robust than `compiletest` over time!
22 lines
214 B
Rust
22 lines
214 B
Rust
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() {}
|