diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2015-02-23 18:43:43 +0530 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-02-23 11:43:59 -0800 |
| commit | f17a5220cb71c4f67476738fbbef803265505131 (patch) | |
| tree | f34bee0fa9276a49ceddd6865294aa5e77041591 | |
| parent | 84874984526073c3605664e55b09efddbbe7189c (diff) | |
| download | rust-f17a5220cb71c4f67476738fbbef803265505131.tar.gz rust-f17a5220cb71c4f67476738fbbef803265505131.zip | |
Add marker trait to test (fixup #22538)
| -rw-r--r-- | src/test/run-pass/extern-methods.rs | 5 |
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); } |
