tests: Move run-pass tests without naming conflicts to ui
This commit is contained in:
parent
ca9faa52f5
commit
9be35f82c1
3226 changed files with 64 additions and 196 deletions
6
src/test/ui/thinlto/auxiliary/dylib.rs
Normal file
6
src/test/ui/thinlto/auxiliary/dylib.rs
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
// compile-flags: -Z thinlto -C codegen-units=8
|
||||
|
||||
#[inline]
|
||||
pub fn foo(b: u8) {
|
||||
b.to_string();
|
||||
}
|
||||
11
src/test/ui/thinlto/auxiliary/msvc-imp-present.rs
Normal file
11
src/test/ui/thinlto/auxiliary/msvc-imp-present.rs
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
// no-prefer-dynamic
|
||||
// compile-flags: -Z thinlto -C codegen-units=8 -C prefer-dynamic
|
||||
|
||||
#![crate_type = "rlib"]
|
||||
#![crate_type = "dylib"]
|
||||
|
||||
pub static A: u32 = 43;
|
||||
|
||||
pub mod a {
|
||||
pub static A: u32 = 43;
|
||||
}
|
||||
7
src/test/ui/thinlto/auxiliary/thin-lto-inlines-aux.rs
Normal file
7
src/test/ui/thinlto/auxiliary/thin-lto-inlines-aux.rs
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
// no-prefer-dynamic
|
||||
|
||||
#![crate_type = "rlib"]
|
||||
|
||||
pub fn bar() -> u32 {
|
||||
3
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue