diff options
Diffstat (limited to 'tests/run-make/lto-linkage-used-attr/main.rs')
-rw-r--r-- | tests/run-make/lto-linkage-used-attr/main.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/run-make/lto-linkage-used-attr/main.rs b/tests/run-make/lto-linkage-used-attr/main.rs new file mode 100644 index 000000000..256b02e5b --- /dev/null +++ b/tests/run-make/lto-linkage-used-attr/main.rs @@ -0,0 +1,10 @@ +extern crate lib; + +use lib::trampolines::*; + +fn main() { + unsafe { + table_fill_externref(); + table_fill_funcref(); + } +} |