summaryrefslogtreecommitdiff
path: root/tests/ui/feature-gates/feature-gate-cfg_overflow_checks.rs
blob: cb265aa7f25b8b82372d7497dfd7f832bd68c1bb (plain)
1
2
3
4
5
6
#![crate_type = "lib"]

#[cfg(overflow_checks)] //~ ERROR `cfg(overflow_checks)` is experimental
pub fn cast(v: i64)->u32{
    todo!()
}