diff --git a/src/test/run-pass/extern-methods.rs b/src/test/run-pass/extern-methods.rs index 0cd53184e6c8..8fe69e400249 100644 --- a/src/test/run-pass/extern-methods.rs +++ b/src/test/run-pass/extern-methods.rs @@ -7,7 +7,10 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. -trait A { + +use std::marker::MarkerTrait; + +trait A : MarkerTrait { extern "fastcall" fn test1(i: i32); extern fn test2(i: i32); }