diff options
Diffstat (limited to 'tests/run-make/pointer-auth-link-with-c-lto-clang/test.rs')
| -rw-r--r-- | tests/run-make/pointer-auth-link-with-c-lto-clang/test.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/run-make/pointer-auth-link-with-c-lto-clang/test.rs b/tests/run-make/pointer-auth-link-with-c-lto-clang/test.rs new file mode 100644 index 00000000000..1a3be80e898 --- /dev/null +++ b/tests/run-make/pointer-auth-link-with-c-lto-clang/test.rs @@ -0,0 +1,10 @@ +#[link(name = "test")] +extern "C" { + fn foo() -> i32; +} + +fn main() { + unsafe { + foo(); + } +} |
