diff options
Diffstat (limited to 'src/test/ui/error-codes/E0396-fixed.rs')
-rw-r--r-- | src/test/ui/error-codes/E0396-fixed.rs | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/test/ui/error-codes/E0396-fixed.rs b/src/test/ui/error-codes/E0396-fixed.rs deleted file mode 100644 index fe20da1a8..000000000 --- a/src/test/ui/error-codes/E0396-fixed.rs +++ /dev/null @@ -1,9 +0,0 @@ -#![feature(const_mut_refs)] - -const REG_ADDR: *mut u8 = 0x5f3759df as *mut u8; - -const VALUE: u8 = unsafe { *REG_ADDR }; -//~^ ERROR evaluation of constant value failed - -fn main() { -} |