about summary refs log tree commit diff
path: root/tests/codegen-llvm/default-requires-uwtable.rs
blob: 54a6e171db66b761cbb79ab829bcd7f8b3c09a7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//@ add-core-stubs
//@ revisions: WINDOWS_ ANDROID_
//@ compile-flags: -C panic=abort -Copt-level=0
//@ [WINDOWS_] compile-flags: --target=x86_64-pc-windows-msvc
//@ [WINDOWS_] needs-llvm-components: x86
//@ [ANDROID_] compile-flags: --target=armv7-linux-androideabi
//@ [ANDROID_] needs-llvm-components: arm

#![feature(no_core, lang_items)]
#![crate_type = "lib"]
#![no_core]

extern crate minicore;
use minicore::*;

// CHECK: attributes #{{.*}} uwtable
pub fn foo() {}