From 218caa410aa38c29984be31a5229b9fa717560ee Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:19:13 +0200 Subject: Merging upstream version 1.68.2+dfsg1. Signed-off-by: Daniel Baumann --- src/test/ui/sepcomp/auxiliary/sepcomp-extern-lib.rs | 4 ---- src/test/ui/sepcomp/auxiliary/sepcomp_cci_lib.rs | 6 ------ src/test/ui/sepcomp/auxiliary/sepcomp_lib.rs | 21 --------------------- 3 files changed, 31 deletions(-) delete mode 100644 src/test/ui/sepcomp/auxiliary/sepcomp-extern-lib.rs delete mode 100644 src/test/ui/sepcomp/auxiliary/sepcomp_cci_lib.rs delete mode 100644 src/test/ui/sepcomp/auxiliary/sepcomp_lib.rs (limited to 'src/test/ui/sepcomp/auxiliary') diff --git a/src/test/ui/sepcomp/auxiliary/sepcomp-extern-lib.rs b/src/test/ui/sepcomp/auxiliary/sepcomp-extern-lib.rs deleted file mode 100644 index 73fb5e8f3..000000000 --- a/src/test/ui/sepcomp/auxiliary/sepcomp-extern-lib.rs +++ /dev/null @@ -1,4 +0,0 @@ -#[no_mangle] -pub extern "C" fn foo() -> usize { - 1234 -} diff --git a/src/test/ui/sepcomp/auxiliary/sepcomp_cci_lib.rs b/src/test/ui/sepcomp/auxiliary/sepcomp_cci_lib.rs deleted file mode 100644 index 64e34a56d..000000000 --- a/src/test/ui/sepcomp/auxiliary/sepcomp_cci_lib.rs +++ /dev/null @@ -1,6 +0,0 @@ -#[inline] -pub fn cci_fn() -> usize { - 1200 -} - -pub const CCI_CONST: usize = 34; diff --git a/src/test/ui/sepcomp/auxiliary/sepcomp_lib.rs b/src/test/ui/sepcomp/auxiliary/sepcomp_lib.rs deleted file mode 100644 index 1536228c2..000000000 --- a/src/test/ui/sepcomp/auxiliary/sepcomp_lib.rs +++ /dev/null @@ -1,21 +0,0 @@ -// compile-flags: -C codegen-units=3 --crate-type=rlib,dylib -g - -pub mod a { - pub fn one() -> usize { - 1 - } -} - -pub mod b { - pub fn two() -> usize { - 2 - } -} - -pub mod c { - use a::one; - use b::two; - pub fn three() -> usize { - one() + two() - } -} -- cgit v1.2.3