mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-30 21:16:27 +03:00
tests: Move run-pass tests without naming conflicts to ui
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
// compile-flags: -Z thinlto -C codegen-units=8
|
||||
|
||||
#[inline]
|
||||
pub fn foo(b: u8) {
|
||||
b.to_string();
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
// no-prefer-dynamic
|
||||
|
||||
#![crate_type = "rlib"]
|
||||
|
||||
pub fn bar() -> u32 {
|
||||
3
|
||||
}
|
||||
Reference in New Issue
Block a user