about summary refs log tree commit diff
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-02-23 18:43:43 +0530
committerAlex Crichton <alex@alexcrichton.com>2015-02-23 11:43:59 -0800
commitf17a5220cb71c4f67476738fbbef803265505131 (patch)
treef34bee0fa9276a49ceddd6865294aa5e77041591
parent84874984526073c3605664e55b09efddbbe7189c (diff)
downloadrust-f17a5220cb71c4f67476738fbbef803265505131.tar.gz
rust-f17a5220cb71c4f67476738fbbef803265505131.zip
Add marker trait to test (fixup #22538)
-rw-r--r--src/test/run-pass/extern-methods.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/test/run-pass/extern-methods.rs b/src/test/run-pass/extern-methods.rs
index 0cd53184e6c..8fe69e40024 100644
--- a/src/test/run-pass/extern-methods.rs
+++ b/src/test/run-pass/extern-methods.rs
@@ -7,7 +7,10 @@
 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, 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);
 }