From f17a5220cb71c4f67476738fbbef803265505131 Mon Sep 17 00:00:00 2001 From: Manish Goregaokar Date: Mon, 23 Feb 2015 18:43:43 +0530 Subject: [PATCH] Add marker trait to test (fixup #22538) --- src/test/run-pass/extern-methods.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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); }