rustup
This commit is contained in:
parent
042cbf175b
commit
78b4c7bf79
@ -1 +1 @@
|
|||||||
996ff2e0a0f911f52bb1de6bdd0cfd5704de1fc9
|
fa2692990c05652c7823c8d2afae501a00a69050
|
||||||
|
@ -5,5 +5,5 @@ fn main() {
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
fn FOO();
|
fn FOO();
|
||||||
}
|
}
|
||||||
unsafe { FOO() } //~ ERROR attempt to call an exported symbol that is not defined as a function
|
unsafe { FOO() } //~ ERROR unsupported operation: can't call foreign function: FOO
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user