2019-07-26 16:54:25 -05:00
|
|
|
// run-pass
|
|
|
|
|
2018-09-14 05:20:28 -05:00
|
|
|
#![allow(dead_code)]
|
|
|
|
#![allow(unused_variables)]
|
2018-03-08 11:30:07 -06:00
|
|
|
// Checks if the correct registers are being used to pass arguments
|
|
|
|
// when the sysv64 ABI is specified.
|
|
|
|
|
2018-03-21 17:49:42 -05:00
|
|
|
#![feature(rust_2018_preview)]
|
2018-03-08 11:30:07 -06:00
|
|
|
|
|
|
|
pub trait Foo {}
|
|
|
|
|
|
|
|
// should compile without the dyn trait feature flag
|
|
|
|
fn foo(x: &dyn Foo) {}
|
|
|
|
|
|
|
|
pub fn main() {}
|