summaryrefslogtreecommitdiffstats
path: root/vendor/wasm-bindgen-macro/ui-tests/bad-signatures.rs
blob: de2c0e1567569e6c69f24b7a911b29acc24755ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
use wasm_bindgen::prelude::*;

#[wasm_bindgen]
pub fn foo() -> &u32 {}

#[wasm_bindgen]
extern "C" {
    fn foo(Foo(x): Foo);

    fn foo() -> &u32;
}

fn main() {}