File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
tests/assembly/stack-protector Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1919#![ allow( incomplete_features) ]
2020#![ feature( unsized_locals, unsized_fn_params) ]
2121
22- // CHECK-LABEL: emptyfn:
22+ // CHECK-LABEL: emptyfn
2323#[ no_mangle]
2424pub fn emptyfn ( ) {
2525 // all: __stack_chk_fail
@@ -63,7 +63,7 @@ pub fn array_u8_1(f: fn(*const u8)) {
6363 // missing-NOT: __stack_chk_fail
6464}
6565
66- // CHECK-LABEL: array_u8_small:
66+ // CHECK-LABEL: array_u8_small
6767#[ no_mangle]
6868pub fn array_u8_small ( f : fn ( * const u8 ) ) {
6969 let a = [ 0u8 ; 2 ] ;
@@ -80,7 +80,7 @@ pub fn array_u8_small(f: fn(*const u8)) {
8080 // missing-NOT: __stack_chk_fail
8181}
8282
83- // CHECK-LABEL: array_u8_large:
83+ // CHECK-LABEL: array_u8_large
8484#[ no_mangle]
8585pub fn array_u8_large ( f : fn ( * const u8 ) ) {
8686 let a = [ 0u8 ; 9 ] ;
@@ -99,7 +99,7 @@ pub fn array_u8_large(f: fn(*const u8)) {
9999#[ derive( Copy , Clone ) ]
100100pub struct ByteSizedNewtype ( u8 ) ;
101101
102- // CHECK-LABEL: array_bytesizednewtype_9:
102+ // CHECK-LABEL: array_bytesizednewtype_9
103103#[ no_mangle]
104104pub fn array_bytesizednewtype_9 ( f : fn ( * const ByteSizedNewtype ) ) {
105105 let a = [ ByteSizedNewtype ( 0 ) ; 9 ] ;
You can’t perform that action at this time.
0 commit comments