graydon/rust — Issue #1058: fns using c-stack-cdecl native ABI cannot be used as values
Author: nikomatsakis
Created: 2011-10-21 22:34:03+00:00
State: open

this test (src/test/run-pass/c-stack-as-value.rs) yields a LLVM compilation error:

```rust
// xfail-test

native "c-stack-cdecl" mod rustrt {
fn unsupervise();
}

fn main() {
let _foo = rustrt::unsupervise;
}
'''