This commit is contained in:
Ralf Jung 2021-08-14 14:47:57 +02:00
parent 042cbf175b
commit 78b4c7bf79
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
996ff2e0a0f911f52bb1de6bdd0cfd5704de1fc9
fa2692990c05652c7823c8d2afae501a00a69050

View File

@ -5,5 +5,5 @@ fn main() {
extern "C" {
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
}