This commit is contained in:
Ralf Jung 2021-08-16 17:09:21 +02:00
parent e8ac524a30
commit 9a6a5119fc
2 changed files with 2 additions and 2 deletions

View file

@ -1 +1 @@
fa2692990c05652c7823c8d2afae501a00a69050
73d96b090bb68065cd3a469b27cbd568e39bf0e7

View file

@ -5,5 +5,5 @@ fn main() {
extern "C" {
fn FOO();
}
unsafe { FOO() } //~ ERROR unsupported operation: can't call foreign function: FOO
unsafe { FOO() } //~ ERROR attempt to call an exported symbol that is not defined as a function
}