about summary refs log tree commit diff
path: root/tests/codegen/thin-lto.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/codegen/thin-lto.rs')
-rw-r--r--tests/codegen/thin-lto.rs7
1 files changed, 7 insertions, 0 deletions
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() {
+}