summaryrefslogtreecommitdiffstats
path: root/tests/run-make/wasm-symbols-not-exported/foo.rs
blob: d46baee01b9669fd1fbcfc3749e0f7d66bd5663b (plain)
1
2
3
4
5
6
7
#![crate_type = "cdylib"]

#[no_mangle]
pub extern fn foo() {
    println!("foo");
    panic!("test");
}