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() {}
|