diff options
Diffstat (limited to 'tests/ui/lto/lto-opt-level-s.rs')
-rw-r--r-- | tests/ui/lto/lto-opt-level-s.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/ui/lto/lto-opt-level-s.rs b/tests/ui/lto/lto-opt-level-s.rs new file mode 100644 index 000000000..a7d9d5024 --- /dev/null +++ b/tests/ui/lto/lto-opt-level-s.rs @@ -0,0 +1,7 @@ +// compile-flags: -Clinker-plugin-lto -Copt-level=s +// build-pass +// no-prefer-dynamic + +#![crate_type = "rlib"] + +pub fn foo() {} |