]> git.lizzy.rs Git - rust.git/blob - tests/codegen/default-requires-uwtable.rs
Auto merge of #107671 - CastilloDel:master, r=estebank
[rust.git] / tests / codegen / default-requires-uwtable.rs
1 // revisions: WINDOWS ANDROID
2 // compile-flags: -C panic=abort
3 // [WINDOWS] compile-flags: --target=x86_64-pc-windows-msvc
4 // [WINDOWS] needs-llvm-components: x86
5 // [ANDROID] compile-flags: --target=armv7-linux-androideabi
6 // [ANDROID] needs-llvm-components: arm
7
8 #![feature(no_core, lang_items)]
9 #![crate_type = "lib"]
10 #![no_core]
11
12 #[lang = "sized"]
13 trait Sized {}
14
15 // CHECK: attributes #{{.*}} uwtable
16 pub fn foo() {}