about summary refs log tree commit diff
path: root/tests/codegen/issue-81408-dllimport-thinlto-windows.rs
diff options
context:
space:
mode:
authorScott McMurray <scottmcm@users.noreply.github.com>2023-03-15 09:09:10 -0700
committerMaybe Waffle <waffle.lapkin@gmail.com>2023-03-20 10:25:29 +0000
commit5dfe37a5044376834825e55dcc3a4bb4b52bb237 (patch)
treefbb27ac3b643cf31c8f42e31711c1375ec2ac65f /tests/codegen/issue-81408-dllimport-thinlto-windows.rs
parente91364bcf5100017a8bd5b18cdebefdd3e5f0bb1 (diff)
downloadrust-5dfe37a5044376834825e55dcc3a4bb4b52bb237.tar.gz
rust-5dfe37a5044376834825e55dcc3a4bb4b52bb237.zip
mv tests/codegen/issue-* tests/codegen/issues/
Diffstat (limited to 'tests/codegen/issue-81408-dllimport-thinlto-windows.rs')
-rw-r--r--tests/codegen/issue-81408-dllimport-thinlto-windows.rs15
1 files changed, 0 insertions, 15 deletions
diff --git a/tests/codegen/issue-81408-dllimport-thinlto-windows.rs b/tests/codegen/issue-81408-dllimport-thinlto-windows.rs
deleted file mode 100644
index 0b6ab4f7ecb..00000000000
--- a/tests/codegen/issue-81408-dllimport-thinlto-windows.rs
+++ /dev/null
@@ -1,15 +0,0 @@
-// compile-flags: -O -C lto=thin -C prefer-dynamic=no
-// only-windows
-// aux-build:static_dllimport_aux.rs
-
-// Test that on Windows, when performing ThinLTO, we do not mark cross-crate static items with
-// dllimport because lld does not fix the symbol names for us.
-
-extern crate static_dllimport_aux;
-
-// CHECK-LABEL: @{{.+}}CROSS_CRATE_STATIC_ITEM{{.+}} =
-// CHECK-SAME: external local_unnamed_addr global %"{{.+}}AtomicPtr
-
-pub fn main() {
-    static_dllimport_aux::memrchr();
-}