| 1 |
#[test] |
| 2 |
pub fn test() { |
| 3 |
let t = trybuild2::TestCases::new(); |
| 4 |
|
| 5 |
t.pass("tests/subclass_compiletest/01-auto-send-sync.rs"); |
| 6 |
t.compile_fail("tests/subclass_compiletest/02-no-auto-send-sync.rs"); |
| 7 |
t.compile_fail("tests/subclass_compiletest/03-object-no-auto-send-sync.rs"); |
| 8 |
t.pass("tests/subclass_compiletest/04-auto-send-sync-with-send-sync-parent.rs"); |
| 9 |
t.compile_fail("tests/subclass_compiletest/05-no-auto-send-sync-with-non-send-sync-parent.rs"); |
| 10 |
t.compile_fail( |
| 11 |
"tests/subclass_compiletest/06-no-auto-send-sync-with-non-send-sync-ffi-parent.rs", |
| 12 |
); |
| 13 |
} |