about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/tests/run/static.rs
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume.gomez@huawei.com>2024-09-27 22:00:17 +0200
committerGuillaume Gomez <guillaume.gomez@huawei.com>2024-09-27 22:00:17 +0200
commit325b70890a4a9b4b14368cfdd87d0c161632cb30 (patch)
treee3264a25c52d21f90be467a7800b89c302c9db7e /compiler/rustc_codegen_gcc/tests/run/static.rs
parenta3f76a26e045a760bb1163b7eab36872985242d5 (diff)
parent3187d32079b817522cc17413ec9185b130daf693 (diff)
downloadrust-325b70890a4a9b4b14368cfdd87d0c161632cb30.tar.gz
rust-325b70890a4a9b4b14368cfdd87d0c161632cb30.zip
Merge commit '3187d32079b817522cc17413ec9185b130daf693' into subtree-update
Diffstat (limited to 'compiler/rustc_codegen_gcc/tests/run/static.rs')
-rw-r--r--compiler/rustc_codegen_gcc/tests/run/static.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_gcc/tests/run/static.rs b/compiler/rustc_codegen_gcc/tests/run/static.rs
index e7c46ae3fcc..6247e08f5e3 100644
--- a/compiler/rustc_codegen_gcc/tests/run/static.rs
+++ b/compiler/rustc_codegen_gcc/tests/run/static.rs
@@ -34,6 +34,7 @@ trait Copy {
 }
 
 impl Copy for isize {}
+impl<T: ?Sized> Copy for *mut T {}
 
 #[lang = "receiver"]
 trait Receiver {