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