aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/rust/compile/issue-2680.rs
blob: d5ae2ff4450bf4b3d8fb693beb40a7f9f1c0a2b0 (plain)
1
2
3
4
5
6
// { dg-additional-options "-fdump-tree-gimple" }
pub fn test_cast() {
    let i = 1;
    // { dg-final { scan-tree-dump-times {const i32 i;} 1 gimple } }
    let _j = i as i64;
}