From c41bf9603972362ee2936247d81b21d495081470 Mon Sep 17 00:00:00 2001 From: DianQK Date: Sat, 18 Nov 2023 20:01:01 +0800 Subject: Add thinlto support to codegen, assembly and coverage tests --- tests/codegen/thin-lto.rs | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 tests/codegen/thin-lto.rs (limited to 'tests/codegen') diff --git a/tests/codegen/thin-lto.rs b/tests/codegen/thin-lto.rs new file mode 100644 index 00000000000..7991cad7a0c --- /dev/null +++ b/tests/codegen/thin-lto.rs @@ -0,0 +1,7 @@ +// compile-flags: -O -C lto=thin -C prefer-dynamic=no +// only-x86_64-unknown-linux-gnu + +// CHECK: main + +pub fn main() { +} -- cgit 1.4.1-3-g733a5