]>
Commit | Line | Data |
---|---|---|
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 | |
10 | pub trait Foo {} | |
11 | ||
12 | // should compile without the dyn trait feature flag | |
13 | fn foo(x: &dyn Foo) {} | |
14 | ||
15 | pub fn main() {} |