Skip to content

Commit 576cfc5

Browse files
committed
Remove duplicate E0396 tests
1 parent 0fc4501 commit 576cfc5

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/test/run-pass/const-block.rs

-10
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,6 @@ static BLOCK_FN: fn(usize) -> usize = { foo::<usize> };
3939

4040
static 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-
4942
pub 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
}

0 commit comments

Comments
 (0)