Add marker trait to test (fixup #22538)
This commit is contained in:
parent
8487498452
commit
f17a5220cb
1 changed files with 4 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue