File tree Expand file tree Collapse file tree 3 files changed +3
-10
lines changed Expand file tree Collapse file tree 3 files changed +3
-10
lines changed Original file line number Diff line number Diff line change 1
- 9a9477fada5baf69d693e717d6df902e411a73d6
1
+ a8f707553276a15565860af3d415aae18428aa96
Original file line number Diff line number Diff line change 1
1
#![ feature( stmt_expr_attributes, test) ]
2
+ #![ allow( arithmetic_overflow) ]
2
3
use std:: fmt:: Debug ;
3
4
use std:: hint:: black_box;
4
5
Original file line number Diff line number Diff line change 1
- // Copyright 2012-2014 The Rust Project Developers. See the COPYRIGHT
2
- // file at the top-level directory of this distribution and at
3
- // http://rust-lang.org/COPYRIGHT.
4
- //
5
- // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6
- // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7
- // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8
- // option. This file may not be copied, modified, or distributed
9
- // except according to those terms.
1
+ #![ allow( arithmetic_overflow) ]
10
2
11
3
pub fn main ( ) {
12
4
// This tests that do (not) do sign extension properly when loading integers
You can’t perform that action at this time.
0 commit comments