Add marker trait to test (fixup #22538)

This commit is contained in:
Manish Goregaokar 2015-02-23 18:43:43 +05:30 committed by Alex Crichton
parent 8487498452
commit f17a5220cb

View file

@ -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);
}