]> git.proxmox.com Git - rustc.git/blame - src/test/ui/epoch-gate-feature.rs
New upstream version 1.57.0+dfsg1
[rustc.git] / src / test / ui / epoch-gate-feature.rs
CommitLineData
416331ca
XL
1// run-pass
2
0bf4aa26
XL
3#![allow(dead_code)]
4#![allow(unused_variables)]
0531ce1d
XL
5// Checks if the correct registers are being used to pass arguments
6// when the sysv64 ABI is specified.
7
83c7162d 8#![feature(rust_2018_preview)]
0531ce1d
XL
9
10pub trait Foo {}
11
12// should compile without the dyn trait feature flag
13fn foo(x: &dyn Foo) {}
14
15pub fn main() {}