2021-03-22 13:38:30 -05:00
|
|
|
// revisions: WINDOWS ANDROID
|
|
|
|
// compile-flags: -C panic=abort
|
|
|
|
// [WINDOWS] compile-flags: --target=x86_64-pc-windows-msvc
|
2021-06-13 13:19:39 -05:00
|
|
|
// [WINDOWS] needs-llvm-components: x86
|
2021-03-22 13:38:30 -05:00
|
|
|
// [ANDROID] compile-flags: --target=armv7-linux-androideabi
|
2021-06-13 13:19:39 -05:00
|
|
|
// [ANDROID] needs-llvm-components: arm
|
2021-03-22 13:38:30 -05:00
|
|
|
|
|
|
|
#![feature(no_core, lang_items)]
|
|
|
|
#![crate_type = "lib"]
|
|
|
|
#![no_core]
|
|
|
|
|
|
|
|
#[lang = "sized"]
|
|
|
|
trait Sized {}
|
|
|
|
|
|
|
|
// CHECK: attributes #{{.*}} uwtable
|
|
|
|
pub fn foo() {}
|