diff options
Diffstat (limited to 'tests/ui/lto/auxiliary/lto-duplicate-symbols2.rs')
-rw-r--r-- | tests/ui/lto/auxiliary/lto-duplicate-symbols2.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/ui/lto/auxiliary/lto-duplicate-symbols2.rs b/tests/ui/lto/auxiliary/lto-duplicate-symbols2.rs new file mode 100644 index 000000000..ec6d05603 --- /dev/null +++ b/tests/ui/lto/auxiliary/lto-duplicate-symbols2.rs @@ -0,0 +1,6 @@ +// no-prefer-dynamic + +#![crate_type = "rlib"] + +#[no_mangle] +pub extern "C" fn foo() {} |