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