Move /src/test to /tests
This commit is contained in:
parent
ca855e6e42
commit
cf2dff2b1e
27592 changed files with 0 additions and 0 deletions
12
tests/ui/use-module-level-int-consts.rs
Normal file
12
tests/ui/use-module-level-int-consts.rs
Normal file
|
@ -0,0 +1,12 @@
|
|||
// run-pass
|
||||
|
||||
// Make sure the module level constants are still there and accessible even after
|
||||
// the corresponding associated constants have been added, and later stabilized.
|
||||
#![allow(deprecated, deprecated_in_future)]
|
||||
use std::{u16, f32};
|
||||
|
||||
fn main() {
|
||||
let _ = u16::MAX;
|
||||
let _ = f32::EPSILON;
|
||||
let _ = std::f64::MANTISSA_DIGITS;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue