File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -39,13 +39,6 @@ static BLOCK_FN: fn(usize) -> usize = { foo::<usize> };
3939
4040static BLOCK_ENUM_CONSTRUCTOR : fn ( usize ) -> Option < usize > = { Some } ;
4141
42- // FIXME #13972
43- // static BLOCK_UNSAFE_SAFE_PTR: &'static isize = unsafe { &*(0xdeadbeef as *const isize) };
44- // static BLOCK_UNSAFE_SAFE_PTR_2: &'static isize = unsafe {
45- // const X: *const isize = 0xdeadbeef as *const isize;
46- // &*X
47- // };
48-
4942pub fn main ( ) {
5043 assert_eq ! ( BLOCK_INTEGRAL , 1 ) ;
5144 assert_eq ! ( BLOCK_EXPLICIT_UNIT , ( ) ) ;
@@ -58,7 +51,4 @@ pub fn main() {
5851 assert_eq ! ( BLOCK_FN_INFERRED ( 300 ) , 300 ) ;
5952 assert_eq ! ( BLOCK_FN ( 300 ) , 300 ) ;
6053 assert_eq ! ( BLOCK_ENUM_CONSTRUCTOR ( 200 ) , Some ( 200 ) ) ;
61- // FIXME #13972
62- // assert_eq!(BLOCK_UNSAFE_SAFE_PTR as *const isize as usize, 0xdeadbeef);
63- // assert_eq!(BLOCK_UNSAFE_SAFE_PTR_2 as *const isize as usize, 0xdeadbeef);
6454}
You can’t perform that action at this time.
0 commit comments