tests: Move run-pass tests without naming conflicts to ui

This commit is contained in:
Vadim Petrochenkov 2019-07-27 01:33:01 +03:00
parent ca9faa52f5
commit 9be35f82c1
3226 changed files with 64 additions and 196 deletions

View file

@ -0,0 +1,6 @@
// compile-flags: -Z thinlto -C codegen-units=8
#[inline]
pub fn foo(b: u8) {
b.to_string();
}

View 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;
}

View file

@ -0,0 +1,7 @@
// no-prefer-dynamic
#![crate_type = "rlib"]
pub fn bar() -> u32 {
3
}