22//@ build-pass
33//@ compile-flags: --target thumbv8m.main-none-eabi --crate-type lib
44//@ needs-llvm-components: arm
5- #![ feature( abi_c_cmse_nonsecure_call , no_core, lang_items, intrinsics) ]
5+ #![ feature( abi_cmse_nonsecure_call , no_core, lang_items, intrinsics) ]
66#![ no_core]
77
88extern crate minicore;
@@ -27,26 +27,26 @@ pub struct U32Compound(u16, u16);
2727#[ no_mangle]
2828#[ allow( improper_ctypes_definitions) ]
2929pub fn params (
30- f1 : extern "C- cmse-nonsecure-call" fn ( ) ,
31- f2 : extern "C- cmse-nonsecure-call" fn ( u32 , u32 , u32 , u32 ) ,
32- f3 : extern "C- cmse-nonsecure-call" fn ( u64 , u64 ) ,
33- f4 : extern "C- cmse-nonsecure-call" fn ( u128 ) ,
34- f5 : extern "C- cmse-nonsecure-call" fn ( f64 , f32 , f32 ) ,
35- f6 : extern "C- cmse-nonsecure-call" fn ( ReprTransparentStruct < u64 > , U32Compound ) ,
36- f7 : extern "C- cmse-nonsecure-call" fn ( [ u32 ; 4 ] ) ,
30+ f1 : extern "cmse-nonsecure-call" fn ( ) ,
31+ f2 : extern "cmse-nonsecure-call" fn ( u32 , u32 , u32 , u32 ) ,
32+ f3 : extern "cmse-nonsecure-call" fn ( u64 , u64 ) ,
33+ f4 : extern "cmse-nonsecure-call" fn ( u128 ) ,
34+ f5 : extern "cmse-nonsecure-call" fn ( f64 , f32 , f32 ) ,
35+ f6 : extern "cmse-nonsecure-call" fn ( ReprTransparentStruct < u64 > , U32Compound ) ,
36+ f7 : extern "cmse-nonsecure-call" fn ( [ u32 ; 4 ] ) ,
3737) {
3838}
3939
4040#[ no_mangle]
4141pub fn returns (
42- f1 : extern "C- cmse-nonsecure-call" fn ( ) -> u32 ,
43- f2 : extern "C- cmse-nonsecure-call" fn ( ) -> u64 ,
44- f3 : extern "C- cmse-nonsecure-call" fn ( ) -> i64 ,
45- f4 : extern "C- cmse-nonsecure-call" fn ( ) -> f64 ,
46- f5 : extern "C- cmse-nonsecure-call" fn ( ) -> [ u8 ; 4 ] ,
47- f6 : extern "C- cmse-nonsecure-call" fn ( ) -> ReprTransparentStruct < u64 > ,
48- f7 : extern "C- cmse-nonsecure-call" fn ( ) -> ReprTransparentStruct < ReprTransparentStruct < u64 > > ,
49- f8 : extern "C- cmse-nonsecure-call" fn ( ) -> ReprTransparentEnumU64 ,
50- f9 : extern "C- cmse-nonsecure-call" fn ( ) -> U32Compound ,
42+ f1 : extern "cmse-nonsecure-call" fn ( ) -> u32 ,
43+ f2 : extern "cmse-nonsecure-call" fn ( ) -> u64 ,
44+ f3 : extern "cmse-nonsecure-call" fn ( ) -> i64 ,
45+ f4 : extern "cmse-nonsecure-call" fn ( ) -> f64 ,
46+ f5 : extern "cmse-nonsecure-call" fn ( ) -> [ u8 ; 4 ] ,
47+ f6 : extern "cmse-nonsecure-call" fn ( ) -> ReprTransparentStruct < u64 > ,
48+ f7 : extern "cmse-nonsecure-call" fn ( ) -> ReprTransparentStruct < ReprTransparentStruct < u64 > > ,
49+ f8 : extern "cmse-nonsecure-call" fn ( ) -> ReprTransparentEnumU64 ,
50+ f9 : extern "cmse-nonsecure-call" fn ( ) -> U32Compound ,
5151) {
5252}
0 commit comments