File tree 1 file changed +4
-4
lines changed
tests/assembly/stack-protector
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 19
19
#![ allow( incomplete_features) ]
20
20
#![ feature( unsized_locals, unsized_fn_params) ]
21
21
22
- // CHECK-LABEL: emptyfn:
22
+ // CHECK-LABEL: emptyfn
23
23
#[ no_mangle]
24
24
pub fn emptyfn ( ) {
25
25
// all: __stack_chk_fail
@@ -63,7 +63,7 @@ pub fn array_u8_1(f: fn(*const u8)) {
63
63
// missing-NOT: __stack_chk_fail
64
64
}
65
65
66
- // CHECK-LABEL: array_u8_small:
66
+ // CHECK-LABEL: array_u8_small
67
67
#[ no_mangle]
68
68
pub fn array_u8_small ( f : fn ( * const u8 ) ) {
69
69
let a = [ 0u8 ; 2 ] ;
@@ -80,7 +80,7 @@ pub fn array_u8_small(f: fn(*const u8)) {
80
80
// missing-NOT: __stack_chk_fail
81
81
}
82
82
83
- // CHECK-LABEL: array_u8_large:
83
+ // CHECK-LABEL: array_u8_large
84
84
#[ no_mangle]
85
85
pub fn array_u8_large ( f : fn ( * const u8 ) ) {
86
86
let a = [ 0u8 ; 9 ] ;
@@ -99,7 +99,7 @@ pub fn array_u8_large(f: fn(*const u8)) {
99
99
#[ derive( Copy , Clone ) ]
100
100
pub struct ByteSizedNewtype ( u8 ) ;
101
101
102
- // CHECK-LABEL: array_bytesizednewtype_9:
102
+ // CHECK-LABEL: array_bytesizednewtype_9
103
103
#[ no_mangle]
104
104
pub fn array_bytesizednewtype_9 ( f : fn ( * const ByteSizedNewtype ) ) {
105
105
let a = [ ByteSizedNewtype ( 0 ) ; 9 ] ;
You can’t perform that action at this time.
0 commit comments